Update universalDapp.js

Fix compatibility with web3 1.0.0
pull/7/head
yann300 5 years ago committed by Aniket
parent 528a67da19
commit 296f27d815
  1. 2
      remix-lib/src/universalDapp.js

@ -203,7 +203,7 @@ module.exports = class UniversalDApp {
if (error) {
callback(error)
} else {
callback(null, this.executionContext.web3().fromWei(balance, 'ether'))
callback(null, this.executionContext.web3().utils.fromWei(balance, 'ether'))
}
})
}

Loading…
Cancel
Save