From 906fa974d4cf191e318506fa6c904d7683aa1be3 Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Fri, 4 Apr 2025 12:02:28 +0900 Subject: [PATCH] fix: swift_place_and_make with referrer --- crates/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/src/lib.rs b/crates/src/lib.rs index 629b3ce..4658de5 100644 --- a/crates/src/lib.rs +++ b/crates/src/lib.rs @@ -1706,9 +1706,9 @@ impl<'a> TransactionBuilder<'a> { if taker_account_referrer != &DEFAULT_PUBKEY { accounts.push(AccountMeta::new( Wallet::derive_stats_account(taker_account_referrer), - true, + false, )); - accounts.push(AccountMeta::new(*taker_account_referrer, true)); + accounts.push(AccountMeta::new(*taker_account_referrer, false)); } self.ixs.push(Instruction {