Rust client: Use alts for every transaction (#720)

This commit is contained in:
Christian Kamm 2023-09-18 09:21:30 +02:00 committed by GitHub
parent 2adc0339dc
commit 40ad0b7b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1482,7 +1482,7 @@ impl MangoClient {
) -> anyhow::Result<Signature> {
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<Signature> {
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,