From 05d34bf9ec666bc623760cee4f5d59bcaaa1bb58 Mon Sep 17 00:00:00 2001 From: jonesmarvin8 <83104039+jonesmarvin8@users.noreply.github.com> Date: Mon, 22 Dec 2025 11:41:44 -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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nssa/program_methods/guest/src/bin/amm.rs b/nssa/program_methods/guest/src/bin/amm.rs index c420c448..80b25fc1 100644 --- a/nssa/program_methods/guest/src/bin/amm.rs +++ b/nssa/program_methods/guest/src/bin/amm.rs @@ -771,7 +771,8 @@ fn swap_logic( vault_deposit: AccountWithMetadata, vault_withdraw: AccountWithMetadata, user_withdraw: AccountWithMetadata, - balances: &[u128], + deposit_amount: u128, + min_amount_out: u128, reserve_amounts: &[u128], pool_id: AccountId, ) -> (Vec, u128, u128) {