diff --git a/extension/src/transactionTranslations/cowswapSetPreSignature.ts b/extension/src/transactionTranslations/cowswapSetPreSignature.ts index 0c4ab192..2f3c0a1e 100644 --- a/extension/src/transactionTranslations/cowswapSetPreSignature.ts +++ b/extension/src/transactionTranslations/cowswapSetPreSignature.ts @@ -68,7 +68,7 @@ export default { (response) => response.json() ) - const validDuration = 60 * 30 // 30 minutes + const validDuration = order.validTo - Math.floor(Date.now() / 1000) const feeAmountBP = Math.ceil( (parseInt(order.feeAmount) / parseInt(order.sellAmount)) * 10000 )