From cd8e9c61b37e06f056e961e8a268e28316f4cebf Mon Sep 17 00:00:00 2001 From: domenicodev Date: Tue, 19 Dec 2023 11:43:00 +0100 Subject: [PATCH] fix: Improved SWAP_DEADLINE_SEC comment text --- evm/src/integral/IntegralSwapAdapter.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evm/src/integral/IntegralSwapAdapter.sol b/evm/src/integral/IntegralSwapAdapter.sol index db5e906..25d498f 100644 --- a/evm/src/integral/IntegralSwapAdapter.sol +++ b/evm/src/integral/IntegralSwapAdapter.sol @@ -3,7 +3,8 @@ pragma solidity ^0.8.13; import {IERC20, ISwapAdapter} from "src/interfaces/ISwapAdapter.sol"; -/// @dev Integral submitted deadline of 3600 seconds (1 hour) to Paraswap +/// @dev Integral submitted deadline of 3600 seconds (1 hour) to Paraswap, but it is not strictly necessary to be this long +/// as the contract allows less durations, we use 1000 seconds (15 minutes) as deadline uint32 constant SWAP_DEADLINE_SEC = 1000; /// @title Integral Swap Adapter