From 5e902070724365fc349102dfcd2d0369b3c2fed9 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) => {