pending tx tracker - tx:warning event includes err obj

feature/default_network_editable
kumavis 7 years ago
parent a86f6d6d90
commit ed77304e73
  1. 4
      app/scripts/lib/pending-tx-tracker.js

@ -94,7 +94,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter {
error: errorMessage,
message: 'There was an error when resubmitting this transaction.',
}
this.emit('tx:warning', txMeta)
this.emit('tx:warning', txMeta, err)
}))
}
@ -139,7 +139,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter {
error: err,
message: 'There was a problem loading this transaction.',
}
this.emit('tx:warning', txMeta)
this.emit('tx:warning', txMeta, err)
}
}

Loading…
Cancel
Save