From 87458f1f4429e0e1d8f995c5c343c1c0264f08a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20D=C3=ADaz?= Date: Wed, 14 Jun 2023 14:47:51 +0200 Subject: [PATCH] chore: attend PR review comments --- .env_example | 2 +- src/bin/w3gw.js | 2 +- src/lib/ethers/wrapper.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env_example b/.env_example index 050a556..69244e4 100644 --- a/.env_example +++ b/.env_example @@ -1,4 +1,4 @@ -# W3GW : mandatory +# W3GW: mandatory W3GW_PRIVATE_KEYS=[] W3GW_SEED_PHRASE="" diff --git a/src/bin/w3gw.js b/src/bin/w3gw.js index 9c4b45a..1588dd7 100644 --- a/src/bin/w3gw.js +++ b/src/bin/w3gw.js @@ -89,7 +89,7 @@ console.info( ) console.info() console.info( - 'Optionally, you can specify an ETH/JSONRPC endpoint different from the default one by setting:' + 'Optionally, you can specify a custom ETH/JSONRPC endpoint by setting:' ) console.info() console.info( diff --git a/src/lib/ethers/wrapper.ts b/src/lib/ethers/wrapper.ts index 78bc281..53c2aa7 100644 --- a/src/lib/ethers/wrapper.ts +++ b/src/lib/ethers/wrapper.ts @@ -380,7 +380,7 @@ class WalletWrapper { if (this.ethGasPriceFactor) { return (await this.getGasPrice()).toHexString() } else { - ;(await this.provider.getGasPrice()).toHexString() + (await this.provider.getGasPrice()).toHexString() } }