Skip to content

Commit bcc8274

Browse files
committed
fix eslint
1 parent 89e922e commit bcc8274

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tools/network/ExtendedHardhatEthersSigner.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,17 @@ export class ExtendedHardhatEthersSigner {
9292
if (hre.network.config.gasPrice) {
9393
try {
9494
preparedTx.gasPrice = hre.ethers.parseUnits(hre.network.config.gasPrice.toString(), "gwei");
95-
} catch {}
95+
} catch {
96+
/* empty */
97+
}
9698
}
9799

98100
if (hre.network.config.gasMultiplier) {
99101
preparedTx.gasLimit = String(
100102
(BigInt(preparedTx.gasLimit!) * BigInt(hre.network.config.gasMultiplier * 100)) / 100n,
101103
);
102104
}
105+
103106
delete preparedTx.from;
104107

105108
if (this._config.trezorWallet.enabled) {

0 commit comments

Comments
 (0)