Skip to content

Commit

Permalink
update starport pointer, closes AST-2722
Browse files Browse the repository at this point in the history
  • Loading branch information
androolloyd authored and dangerousfood committed Jan 9, 2024
1 parent d8481e9 commit 539cd89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/status/BaseRecall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 539cd89

Please sign in to comment.