Skip to content

Commit

Permalink
Renames variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-then committed Sep 26, 2024
1 parent 2acf8c1 commit 74e64d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/2wp.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const execute = (description, getRskHost) => {
expect(finalSenderAddressBalanceInSatoshis).to.be.equal(initialSenderAddressBalanceInSatoshis - peginValueInSatoshis - btcFeeInSatoshis);

// The recipient rsk address balance is increased by the pegin value
const finalRskRecipientBalanceInWeisBN = Number(await rskTxHelper.getBalance(senderRecipientInfo.rskRecipientRskAddressInfo.address));
const finalRskRecipientBalanceInWeisBN = await rskTxHelper.getBalance(senderRecipientInfo.rskRecipientRskAddressInfo.address);
const expectedRskRecipientBalancesInWeisBN = rskTxHelper.getClient().utils.BN(satoshisToWeis(peginValueInSatoshis));
expect(finalRskRecipientBalanceInWeisBN.eq(expectedRskRecipientBalancesInWeisBN)).to.be.true;

Expand Down

0 comments on commit 74e64d5

Please sign in to comment.