From 40ad0b7b66bf8c2203d32b45ac9c13bf9683e831 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Mon, 18 Sep 2023 09:21:30 +0200 Subject: [PATCH] Rust client: Use alts for every transaction (#720) --- lib/client/src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client/src/client.rs b/lib/client/src/client.rs index b7d78091c..7a6b69512 100644 --- a/lib/client/src/client.rs +++ b/lib/client/src/client.rs @@ -1482,7 +1482,7 @@ impl MangoClient { ) -> anyhow::Result { TransactionBuilder { instructions, - address_lookup_tables: vec![], + address_lookup_tables: self.mango_address_lookup_tables().await?, payer: self.client.fee_payer.pubkey(), signers: vec![self.owner.clone(), self.client.fee_payer.clone()], config: self.client.transaction_builder_config, @@ -1497,7 +1497,7 @@ impl MangoClient { ) -> anyhow::Result { TransactionBuilder { instructions, - address_lookup_tables: vec![], + address_lookup_tables: self.mango_address_lookup_tables().await?, payer: self.client.fee_payer.pubkey(), signers: vec![self.client.fee_payer.clone()], config: self.client.transaction_builder_config,