fix storage panel

pull/7/head
yann300 8 years ago
parent f17742b0f4
commit 935cef3809
  1. 6
      src/ui/SolidityState.js

@ -44,11 +44,13 @@ SolidityState.prototype.init = function () {
self.traceManager.getStorageAt(index, this.parent.tx, function (error, storage) {
if (error) {
self.basicPanel.update({ info: error })
self.basicPanel.update({})
console.log(error)
} else {
self.solidityProxy.extractStateVariablesAt(index, function (error, stateVars) {
if (error) {
self.basicPanel.update({ info: error })
self.basicPanel.update({})
console.log(error)
} else {
self.basicPanel.update(stateDecoder.decodeState(stateVars, storage))
}

Loading…
Cancel
Save