mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix stack wording
This commit is contained in:
parent
1df833bee8
commit
b81f883150
@ -375,7 +375,7 @@ module.exports = class TransactionController extends EventEmitter {
|
|||||||
|
|
||||||
if (!txHash) {
|
if (!txHash) {
|
||||||
return this.setTxStatusFailed(txId, {
|
return this.setTxStatusFailed(txId, {
|
||||||
stack: 'checkForTxInBlock: custom tx-controller error me',
|
stack: 'checkForTxInBlock: custom tx-controller error message',
|
||||||
errCode: 'No hash was provided',
|
errCode: 'No hash was provided',
|
||||||
message: 'We had an error while submitting this transaction, please try again.',
|
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)) {
|
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 ',
|
stack: '_resubnitTx: custom tx-controller error',
|
||||||
message,
|
message,
|
||||||
})
|
})
|
||||||
cb()
|
cb()
|
||||||
|
Loading…
Reference in New Issue
Block a user