diff --git a/scripts/spokepool.ts b/scripts/spokepool.ts index 4d4d1b056..2a8231d32 100644 --- a/scripts/spokepool.ts +++ b/scripts/spokepool.ts @@ -224,7 +224,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;