fix calls to tracemanager

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent 46cc123552
commit d8bb61de4b
  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