Commit 935cef38 authored by yann300's avatar yann300

fix storage panel

parent f17742b0
......@@ -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))
}
......
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