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 5028b0d commit 32bc834
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 @@ -83,7 +83,7 @@ function getConfig(): Config {
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)}`;
if (config.node.gasPrice !== undefined) config.node.gasPrice = `0x${config.node.gasPrice.toString(16)}`;

if (process.env.OZ_TEST_ENV_COVERAGE !== undefined) {
const coveragePath = tryRequire.resolve('ganache-core-coverage');
Expand Down

0 comments on commit 32bc834

Please sign in to comment.