Skip to content

Commit 0e6a648

Browse files
committed
fix fallback applyGasPriceBuffer
1 parent 827f326 commit 0e6a648

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/blockchain-service/blockchain-service-base.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,6 +1451,7 @@ export default class BlockchainServiceBase {
14511451
// Fallback to network gas price if feeHistory not supported or empty
14521452
if (!feeHistory.supported) {
14531453
return this.applyGasPriceBuffer(
1454+
0n,
14541455
BigInt(await this.getNetworkGasPrice(blockchain)),
14551456
gasPriceBufferPercent,
14561457
);
@@ -1461,6 +1462,7 @@ export default class BlockchainServiceBase {
14611462

14621463
if (baseFees.length === 0 || priorityFees.length === 0) {
14631464
return this.applyGasPriceBuffer(
1465+
0n,
14641466
BigInt(await this.getNetworkGasPrice(blockchain)),
14651467
gasPriceBufferPercent,
14661468
);

0 commit comments

Comments
 (0)