From 3a189eca99062ec23a0c20b795df0fa48fceb15b Mon Sep 17 00:00:00 2001 From: Andrew Redden Date: Wed, 3 Jan 2024 09:12:07 +0100 Subject: [PATCH] closes AST-2723 --- src/settlement/AstariaV1Settlement.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/settlement/AstariaV1Settlement.sol b/src/settlement/AstariaV1Settlement.sol index 7210a87..4d0d25d 100644 --- a/src/settlement/AstariaV1Settlement.sol +++ b/src/settlement/AstariaV1Settlement.sol @@ -77,8 +77,7 @@ contract AstariaV1Settlement is DutchAuctionSettlement { if (start == 0) { revert LoanNotRecalled(); } - uint256 recallWindow = abi.decode(loan.terms.statusData, (BaseRecall.Details)).recallWindow; - return start + recallWindow + 1; + return _getAuctionStart(loan, start); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/