diff --git a/src/logic/hooks/useEstimateTransactionGas.tsx b/src/logic/hooks/useEstimateTransactionGas.tsx index 20090496..63e336d2 100644 --- a/src/logic/hooks/useEstimateTransactionGas.tsx +++ b/src/logic/hooks/useEstimateTransactionGas.tsx @@ -39,7 +39,11 @@ export const checkIfTxIsExecution = ( txConfirmations?: number, txType?: string, ): boolean => { - if (threshold === 1 || sameString(txType, 'spendingLimit') || txConfirmations === threshold) { + if ( + threshold === 1 || + sameString(txType, 'spendingLimit') || + (txConfirmations !== undefined && txConfirmations >= threshold) + ) { return true }