Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add sanity check for intertimAsset == 0 in approveRefund() [sup 9337] #656

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

TamaraRingas
Copy link

Add if (r.interimToken == address(0)) revert INVALID_REFUND_DATA(); to approveRefund() to prevent approval of refunds that have not yet been requested and add test for this case.

@TamaraRingas TamaraRingas self-assigned this Nov 21, 2024
Copy link

linear bot commented Nov 21, 2024

@0xTimepunk 0xTimepunk merged commit 3b6aa9c into v1.5 Nov 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants