fix stack wording

feature/default_network_editable
frankiebee 7 years ago
parent 1df833bee8
commit b81f883150
  1. 4
      app/scripts/controllers/transactions.js

@ -375,7 +375,7 @@ module.exports = class TransactionController extends EventEmitter {
if (!txHash) {
return this.setTxStatusFailed(txId, {
stack: 'checkForTxInBlock: custom tx-controller error me',
stack: 'checkForTxInBlock: custom tx-controller error message',
errCode: 'No hash was provided',
message: 'We had an error while submitting this transaction, please try again.',
})
@ -478,7 +478,7 @@ module.exports = class TransactionController extends EventEmitter {
if (!this.txProviderUtils.sufficientBalance(txMeta.txParams, balance)) {
const message = 'Insufficient balance.'
this.setTxStatusFailed(txMeta.id, {
stack: '_resubnitTx: custom tx-controller ',
stack: '_resubnitTx: custom tx-controller error',
message,
})
cb()

Loading…
Cancel
Save