-
Notifications
You must be signed in to change notification settings - Fork 326
Open
Description
https://github.com/raydium-io/raydium-clmm/blob/master/programs/amm/src/instructions/swap.rs#L653
original order:
- transfer token from user to pool
- check vault amount, freeze pool
- transfer token from pool to user
I think the correct order:
- check vault amount, freeze pool
- transfer token from user to pool
- transfer token from pool to user
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels