mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix messy merge
This commit is contained in:
parent
00fca4f1f2
commit
50075c6df5
@ -62,10 +62,6 @@ module.exports = class TransactionController extends EventEmitter {
|
||||
err: undefined,
|
||||
})
|
||||
},
|
||||
giveUpOnTransaction: (txId) => {
|
||||
const msg = `Gave up submitting after 3500 blocks un-mined.`
|
||||
this.setTxStatusFailed(txId, msg)
|
||||
},
|
||||
})
|
||||
|
||||
this.pendingTxTracker = new PendingTransactionTracker({
|
||||
@ -80,6 +76,10 @@ module.exports = class TransactionController extends EventEmitter {
|
||||
getPendingTransactions: () => {
|
||||
return this.txStateManager.getFilteredTxList({ status: 'submitted' })
|
||||
},
|
||||
giveUpOnTransaction: (txId) => {
|
||||
const msg = `Gave up submitting after 3500 blocks un-mined.`
|
||||
this.setTxStatusFailed(txId, msg)
|
||||
},
|
||||
})
|
||||
|
||||
this.txStateManager.subscribe(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user