|
|
|
@ -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() |
|
|
|
|