diff --git a/src/config.ts b/src/config.ts index d4775bd..25a2a2b 100644 --- a/src/config.ts +++ b/src/config.ts @@ -66,7 +66,7 @@ function getConfig(): Config { warn(`Please move gasPrice option inside node option. See ${configHelpUrl} for more details.`); } - if (!!providedConfig.gasPrice && !!providedConfig.node?.gasPrice) { + if (providedConfig.gasPrice !== undefined && providedConfig.node?.gasPrice !== undefined) { throw new Error( `GasPrice is specified twice in config. Please fix your config. See ${configHelpUrl} for more details.`, );