From 7c259d70e6a01c222a82240b22fc48f9d844b474 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 3 Oct 2018 12:14:19 -0400 Subject: [PATCH] remove commented out code --- src/app/debugger/debugger/stepManager.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/app/debugger/debugger/stepManager.js b/src/app/debugger/debugger/stepManager.js index cf8a1a3295..6f8d756ef4 100644 --- a/src/app/debugger/debugger/stepManager.js +++ b/src/app/debugger/debugger/stepManager.js @@ -45,34 +45,20 @@ class DebuggerStepManager { if (error) { console.log(error) return self.event.trigger('revertWarning', ['']) - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning('') - // } - // return } self.currentCall = callsPath[callsPath.length - 1] if (self.currentCall.reverted) { let revertedReason = self.currentCall.outofgas ? 'outofgas' : '' self.revertionPoint = self.currentCall.return return self.event.trigger('revertWarning', [revertedReason]) - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning(revertedReason) - // } - // return } for (var k = callsPath.length - 2; k >= 0; k--) { var parent = callsPath[k] if (!parent.reverted) continue self.revertionPoint = parent.return self.event.trigger('revertWarning', ['parenthasthrown']) - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning('parenthasthrown') - // } } self.event.trigger('revertWarning', ['']) - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning('') - // } }) }) }