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 f0397aa commit 5028b0d
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 @@ -80,7 +80,7 @@ function getConfig(): Config {

const config: Config = merge(defaultConfig, providedConfig);

if (config.gasPrice) config.node.gasPrice = config.gasPrice;
if (config.gasPrice !== undefined) config.node.gasPrice = config.gasPrice;
if (config.blockGasLimit) config.node.gasLimit = config.blockGasLimit;

if (config.node.gasPrice) config.node.gasPrice = `0x${config.node.gasPrice.toString(16)}`;
Expand Down

0 comments on commit 5028b0d

Please sign in to comment.