pull/1/head
yann300 7 years ago
parent ba46c37927
commit 4a40c81572
  1. 2
      src/recorder.js

@ -170,6 +170,7 @@ class Recorder {
run (records, accounts, options, abis, newContractFn) {
var self = this
self.setListen(false)
self._api.logMessage('Running transactions ...')
async.eachSeries(records, function (tx, cb) {
var record = self.resolveAddress(tx.record, accounts, options)
var abi = abis[tx.record.abi]
@ -199,6 +200,7 @@ class Recorder {
self._api.udapp().rerunTx(record, function (err, txResult) {
if (err) {
console.error(err)
self._api.logMessage(err + '. Execution stopped')
} else {
var address = executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress
if (address) {

Loading…
Cancel
Save