From 32de4e2990fd9aae85e6dc004e36541a840c9fb3 Mon Sep 17 00:00:00 2001 From: jonesmarvin8 <83104039+jonesmarvin8@users.noreply.github.com> Date: Mon, 22 Dec 2025 11:41:19 -0500 Subject: [PATCH] Update nssa/program_methods/guest/src/bin/amm.rs Co-authored-by: Daniil Polyakov --- nssa/program_methods/guest/src/bin/amm.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nssa/program_methods/guest/src/bin/amm.rs b/nssa/program_methods/guest/src/bin/amm.rs index 7d0bf97..c420c44 100644 --- a/nssa/program_methods/guest/src/bin/amm.rs +++ b/nssa/program_methods/guest/src/bin/amm.rs @@ -71,9 +71,11 @@ struct PoolDefinition { liquidity_pool_supply: u128, reserve_a: u128, reserve_b: u128, - fees: u128, // fees are currently not used - active: bool, // a pool becomes inactive (active = false) - // once all of its liquidity has been removed (e.g., reserves are emptied and liquidity_pool_supply = 0) + /// Fees are currently not used + fees: u128, + /// A pool becomes inactive (active = false) + /// once all of its liquidity has been removed (e.g., reserves are emptied and liquidity_pool_supply = 0) + active: bool, } impl PoolDefinition {