From 0771890ac5f8fa1c737d905935a001fa3099332c Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 18 Feb 2020 09:23:29 +0100 Subject: [PATCH] fix standard --- src/blockchain/providers/vm.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/blockchain/providers/vm.js b/src/blockchain/providers/vm.js index 56f9b66295..6da0240d30 100644 --- a/src/blockchain/providers/vm.js +++ b/src/blockchain/providers/vm.js @@ -24,7 +24,7 @@ class VMProvider { resetEnvironment () { this.RemixSimulatorProvider.Accounts.resetAccounts() this.accounts = {} - } + } // TODO: is still here because of the plugin API // can be removed later when we update the API @@ -47,13 +47,13 @@ class VMProvider { } cb(null, Web3.utils.fromWei(new BN(res).toString(10), 'ether')) }) - } + } getGasPrice (cb) { - this.web3.eth.getBalance(address, cb) + this.web3.eth.getGasPrice(cb) } - signMessage(message, account, _passphrase, cb) { + signMessage (message, account, _passphrase, cb) { const hashedMsg = Web3.utils.sha3(message) this.web3.eth.sign(hashedMsg, account, (error, signedData) => { if (error) {