-
Notifications
You must be signed in to change notification settings - Fork 487
Open
Description
Why are we comparing invariant here with pool_a.amount * pool_a.amount
Lines 137 to 140 in 4366669
| if invariant > ctx.accounts.pool_account_a.amount * ctx.accounts.pool_account_a.amount { | |
| return err!(TutorialError::InvariantViolated); | |
| } | |
Metadata
Metadata
Assignees
Labels
No labels