Skip to content

Commit

Permalink
Fixed assert to compare balanceBefore and balanceAfter using BigNumbe…
Browse files Browse the repository at this point in the history
…r instead of converting it into number.
  • Loading branch information
aikchun committed Jun 21, 2021
1 parent 6ee22ff commit 1079fb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('getBalances on masternode', () => {

const balanceAfter: WalletBalances = await client.wallet.getBalances()

expect(balanceBefore.mine.trusted.gt(balanceAfter.mine.trusted.toNumber())).toStrictEqual(true)
expect(balanceBefore.mine.trusted.gt(balanceAfter.mine.trusted)).toStrictEqual(true)
})

it('test watchOnly', async () => {
Expand Down

0 comments on commit 1079fb5

Please sign in to comment.