From 935cef38099072c5f1a2d4aefd534da8cb377ae1 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 9 Feb 2017 17:17:57 +0100 Subject: [PATCH] fix storage panel --- src/ui/SolidityState.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/SolidityState.js b/src/ui/SolidityState.js index c79e5f261f..71c8ffb8fe 100644 --- a/src/ui/SolidityState.js +++ b/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)) }