Why are we comparing invariant here with pool_a.amount * pool_a.amount https://github.com/solana-developers/program-examples/blob/43666698d467205ffa9ff8998edf42f62ce10780/tokens/token-swap/anchor/programs/token-swap/src/instructions/swap_exact_tokens_for_tokens.rs#L137-L140
Why are we comparing invariant here with pool_a.amount * pool_a.amount
program-examples/tokens/token-swap/anchor/programs/token-swap/src/instructions/swap_exact_tokens_for_tokens.rs
Lines 137 to 140 in 4366669