From 539cd891beeca89c0588c6dd3fcd1d0ca11997a1 Mon Sep 17 00:00:00 2001 From: Andrew Redden Date: Wed, 3 Jan 2024 08:52:58 +0100 Subject: [PATCH] update starport pointer, closes AST-2722 --- src/status/BaseRecall.sol | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/status/BaseRecall.sol b/src/status/BaseRecall.sol index 5e7fd4c..32386c4 100644 --- a/src/status/BaseRecall.sol +++ b/src/status/BaseRecall.sol @@ -132,12 +132,13 @@ abstract contract BaseRecall { AdditionalTransfer[] memory recallConsideration = _generateRecallConsideration( msg.sender, loan, 0, details.recallStakeDuration, 0, msg.sender, payable(address(this)) ); + recalls[loanId] = Recall(payable(msg.sender), uint64(block.timestamp)); + + emit Recalled(loanId, msg.sender, block.timestamp + details.recallWindow); + if (recallConsideration.length > 0) { StarportLib.transferAdditionalTransfers(recallConsideration); } - - recalls[loanId] = Recall(payable(msg.sender), uint64(block.timestamp)); - emit Recalled(loanId, msg.sender, block.timestamp + details.recallWindow); } /**