Commit 5e902070 authored by yann300's avatar yann300 Committed by Aniket

use `toHex` from the utils scope

parent 296f27d8
...@@ -34,7 +34,7 @@ class TxRunner { ...@@ -34,7 +34,7 @@ class TxRunner {
} }
_executeTx (tx, gasPrice, api, promptCb, callback) { _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()) { if (api.personalMode()) {
promptCb( promptCb(
(value) => { (value) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment