#45685 [SC-Insight] Incorrect comments in finishRedemptionWithoutPayment
Description
Brief/Intro
Vulnerability Details
/**
* If the agent hasn't performed the payment, the agent can close the redemption request to free underlying funds.
* It can be done immediately after the redeemer or agent calls redemptionPaymentDefault,
* or this method can trigger the default payment without proof, but only after enough time has passed so that
* attestation proof of non-payment is not available any more.
* NOTE: may only be called by the owner of the agent vault in the redemption request.
* @param _proof proof that the attestation query window can not not contain
* the payment/non-payment proof anymore
* @param _redemptionRequestId id of an existing, but already defaulted, redemption request
*/
function finishRedemptionWithoutPayment(
IConfirmedBlockHeightExists.Proof calldata _proof,
uint256 _redemptionRequestId
)
external
nonReentrant
{
RedemptionFailures.finishRedemptionWithoutPayment(_proof, _redemptionRequestId.toUint64());
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#45731 [SC-Insight] Off-by-One Logic in Escrow End Timestamp Calculation May Cause Unintended Escrow DelayNext#45769 [SC-Medium] Permanent blocking of Agent's fund by allowed minters
Was this helpful?