Reduce time to show tx "speed up" buttons to 5 seconds. (#6797)

feature/default_network_editable
Dan Finlay 5 years ago committed by GitHub
parent a44f38e640
commit 797f0c6ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/components/app/transaction-list/transaction-list.component.js

@ -39,7 +39,7 @@ export default class TransactionList extends PureComponent {
const { transactions = [], hasRetried } = transactionGroup const { transactions = [], hasRetried } = transactionGroup
const [earliestTransaction = {}] = transactions const [earliestTransaction = {}] = transactions
const { submittedTime } = earliestTransaction const { submittedTime } = earliestTransaction
return Date.now() - submittedTime > 30000 && isEarliestNonce && !hasRetried return Date.now() - submittedTime > 5000 && isEarliestNonce && !hasRetried
} }
shouldShowCancel (transactionGroup) { shouldShowCancel (transactionGroup) {

Loading…
Cancel
Save