Commit 8dc4cddd authored by yann300's avatar yann300

fix standard

parent b417e5eb
...@@ -50,10 +50,10 @@ class VMProvider { ...@@ -50,10 +50,10 @@ class VMProvider {
} }
getGasPrice (cb) { 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) const hashedMsg = Web3.utils.sha3(message)
this.web3.eth.sign(hashedMsg, account, (error, signedData) => { this.web3.eth.sign(hashedMsg, account, (error, signedData) => {
if (error) { if (error) {
......
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