We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6991a6 commit 010f167Copy full SHA for 010f167
src/common/utils/utils.ts
@@ -63,7 +63,7 @@ export function getEstimatedFee(): Promise<SatoshiBig> {
63
bridgeService.getQueuedPegoutsCount(),
64
])
65
.then(([nextPegoutCost, pegoutQueueCount]) => {
66
- const estimatedFee = pegoutQueueCount > 0 ? nextPegoutCost / pegoutQueueCount : 0;
+ const estimatedFee = nextPegoutCost / (pegoutQueueCount + 1);
67
resolve(new SatoshiBig(estimatedFee, 'satoshi'));
68
})
69
.catch(reject);
0 commit comments