diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 6a12ec3e18..b648323115 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -287,7 +287,7 @@ function makeRecorder (appAPI, appEvents) { modalDialogCustom.alert('Invalid JSON, please try again') } if (txArray.length) { - txArray.forEach(tx => udapp.runTx(tx, CALLBACK)) + txArray.forEach(tx => udapp.replayTx(tx.record, CALLBACK)) } }, function cancel () { }) } diff --git a/src/recorder.js b/src/recorder.js index 141ecac45a..1be3eff71f 100644 --- a/src/recorder.js +++ b/src/recorder.js @@ -25,8 +25,8 @@ class Recorder { if (err) console.error(err) var timestamp = args[6] // update transaction which was pending with correct `to` address - var record = self._pendingCreation[timestamp] - delete self._pendingCreation[timestamp] + var record = self.data._pendingCreation[timestamp] + delete self.data._pendingCreation[timestamp] if (!record) return var to = args[2] record.to = self._addressCache[to] || (self._addressCache[to] = ``)