Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Fix a missing await in BitcoinHelpers.estimateFee
Browse files Browse the repository at this point in the history
This was causing obscure issues with BN construction.
  • Loading branch information
Shadowfiend committed Sep 23, 2020
1 parent 4bdfdeb commit 9129eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BitcoinHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ const BitcoinHelpers = {
*/
estimateFee: async function(tbtcConstantsContract) {
return new BN(
tbtcConstantsContract.methods.getMinimumRedemptionFee().call()
await tbtcConstantsContract.methods.getMinimumRedemptionFee().call()
).muln(4)
},
/**
Expand Down

0 comments on commit 9129eb7

Please sign in to comment.