Skip to content

Commit 4173e04

Browse files
committed
fix: locked amount on addresses is not fixed as supposed
1 parent 4b9be13 commit 4173e04

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

__tests__/integration/address-info.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ describe('address-info routes', () => {
103103
/*
104104
* According to the REWARD_SPEND_MIN_BLOCKS variable in the ./configuration/privnet.py file
105105
* the miner rewards are locked for exactly one block. Since we have only one miner reward
106-
* address, this value should be precisely 6400.
106+
* address, this value should be always 6400 or greater.
107107
*
108108
* Should another miner reward address be included later, this assertion must be recalculated.
109109
*/
110-
expect(results.total_amount_locked).toBe(6400);
110+
expect(results.total_amount_locked).toBeGreaterThanOrEqual(6400);
111111
done();
112112
});
113113

__tests__/integration/balance.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ describe('balance routes', () => {
6262
/*
6363
* According to the REWARD_SPEND_MIN_BLOCKS variable in the ./configuration/privnet.py file
6464
* the miner rewards are locked for exactly one block. Since we have only one miner reward
65-
* address, this value should be precisely 6400.
65+
* address, this value should be always 6400 or greater.
6666
*
6767
* Should another miner reward address be included later, this assertion must be recalculated.
6868
*/
69-
expect(balanceResult.body.locked).toBe(6400);
69+
expect(balanceResult.body.locked).toBeGreaterThanOrEqual(6400);
7070
done();
7171
});
7272

0 commit comments

Comments
 (0)