Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Update src/config.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: Francisco Giordano <[email protected]>
  • Loading branch information
ylv-io and frangio authored Apr 14, 2020
1 parent a341ef5 commit f0397aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
);
Expand Down

0 comments on commit f0397aa

Please sign in to comment.