|
|
@ -478,7 +478,7 @@ module.exports = class TransactionController extends EventEmitter { |
|
|
|
if (!this.txProviderUtils.sufficientBalance(txMeta.txParams, balance)) { |
|
|
|
if (!this.txProviderUtils.sufficientBalance(txMeta.txParams, balance)) { |
|
|
|
const message = 'Insufficient balance.' |
|
|
|
const message = 'Insufficient balance.' |
|
|
|
this.setTxStatusFailed(txMeta.id, { |
|
|
|
this.setTxStatusFailed(txMeta.id, { |
|
|
|
stack: '_resubnitTx: custom tx-controller error', |
|
|
|
stack: '_resubmitTx: custom tx-controller error', |
|
|
|
message, |
|
|
|
message, |
|
|
|
}) |
|
|
|
}) |
|
|
|
cb() |
|
|
|
cb() |
|
|
|