diff --git a/scripts/spokepool.ts b/scripts/spokepool.ts index 1816fcbb9..ea99bad9b 100644 --- a/scripts/spokepool.ts +++ b/scripts/spokepool.ts @@ -226,7 +226,7 @@ async function deposit(args: Record, signer: Signer): P exclusiveRelayer ?? depositQuote.exclusiveRelayer, depositQuote.quoteTimestamp, Number(currentTime) + Number(fillDeadlineBuffer), - exclusivityDeadline ?? depositQuote.exclusivityDeadline, + isNaN(exclusivityDeadline) ? depositQuote.exclusivityDeadline : exclusivityDeadline, message ); const { hash: transactionHash } = deposit;