mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Reduce time to show tx "speed up" buttons to 5 seconds. (#6797)
This commit is contained in:
parent
a44f38e640
commit
797f0c6ced
@ -39,7 +39,7 @@ export default class TransactionList extends PureComponent {
|
||||
const { transactions = [], hasRetried } = transactionGroup
|
||||
const [earliestTransaction = {}] = transactions
|
||||
const { submittedTime } = earliestTransaction
|
||||
return Date.now() - submittedTime > 30000 && isEarliestNonce && !hasRetried
|
||||
return Date.now() - submittedTime > 5000 && isEarliestNonce && !hasRetried
|
||||
}
|
||||
|
||||
shouldShowCancel (transactionGroup) {
|
||||
|
Loading…
Reference in New Issue
Block a user