From 797f0c6cedfb6d9e401e62414cc8aa07a36d7bd7 Mon Sep 17 00:00:00 2001 From: Dan Finlay <542863+danfinlay@users.noreply.github.com> Date: Wed, 3 Jul 2019 22:10:17 -0700 Subject: [PATCH] Reduce time to show tx "speed up" buttons to 5 seconds. (#6797) --- .../app/transaction-list/transaction-list.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/app/transaction-list/transaction-list.component.js b/ui/app/components/app/transaction-list/transaction-list.component.js index fc5488884..d4232f448 100644 --- a/ui/app/components/app/transaction-list/transaction-list.component.js +++ b/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 [earliestTransaction = {}] = transactions const { submittedTime } = earliestTransaction - return Date.now() - submittedTime > 30000 && isEarliestNonce && !hasRetried + return Date.now() - submittedTime > 5000 && isEarliestNonce && !hasRetried } shouldShowCancel (transactionGroup) {