From 6a5b22feb69d32f0a43477d1a6a213b674902bd2 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 15 Jan 2020 09:48:05 +0100 Subject: [PATCH] use `toHex` from the utils scope --- remix-lib/src/execution/txRunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix-lib/src/execution/txRunner.js b/remix-lib/src/execution/txRunner.js index 9c8fd59d98..ec1bf594c8 100644 --- a/remix-lib/src/execution/txRunner.js +++ b/remix-lib/src/execution/txRunner.js @@ -34,7 +34,7 @@ class TxRunner { } _executeTx (tx, gasPrice, api, promptCb, callback) { - if (gasPrice) tx.gasPrice = this.executionContext.web3().toHex(gasPrice) + if (gasPrice) tx.gasPrice = this.executionContext.web3().utils.toHex(gasPrice) if (api.personalMode()) { promptCb( (value) => {