fix calls to tracemanager

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent 45b25d7e83
commit 871c0ce096
  1. 4
      src/app/debugger/debuggerUI/VmDebugger.js

@ -117,7 +117,7 @@ function VmDebugger (_parentUI, _traceManager, _codeManager, _solidityProxy, _ca
if (index < 0) return
if (_parentUI.currentStepIndex !== index) return
_traceManager.getMemoryAt(index, function (error, callstack) {
_traceManager.getCallStackAt(index, function (error, callstack) {
if (error) {
console.log(error)
self.callstackPanel.update({})
@ -132,7 +132,7 @@ function VmDebugger (_parentUI, _traceManager, _codeManager, _solidityProxy, _ca
if (index < 0) return
if (_parentUI.currentStepIndex !== index) return
_traceManager.getMemoryAt(index, function (error, stack) {
_traceManager.getStackAt(index, function (error, stack) {
if (error) {
console.log(error)
self.stackPanel.update({})

Loading…
Cancel
Save