From 32bc834a8d332bf1c6afe633f71ae40130aec139 Mon Sep 17 00:00:00 2001 From: Igor Yalovoy Date: Tue, 14 Apr 2020 15:06:54 -0300 Subject: [PATCH] Update src/config.ts Co-Authored-By: Francisco Giordano --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 49ae703..ef152e2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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');