From 20eb61527b55842d62ce5a51ff90c1bbb8b88593 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Thu, 15 Sep 2022 09:39:55 +0200 Subject: [PATCH] Compile fixups after merge --- programs/mango-v4/tests/test_alt.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/mango-v4/tests/test_alt.rs b/programs/mango-v4/tests/test_alt.rs index c91b0df02..faa4247c8 100644 --- a/programs/mango-v4/tests/test_alt.rs +++ b/programs/mango-v4/tests/test_alt.rs @@ -4,7 +4,7 @@ use solana_program_test::*; use solana_sdk::pubkey::Pubkey; use solana_sdk::transport::TransportError; -use mango_v4::address_lookup_table_program; +use mango_setup::*; use mango_v4::state::*; use program_test::*; @@ -23,10 +23,11 @@ async fn test_alt() -> Result<(), TransportError> { // SETUP: Create a group, account, register a token (mint0) // - let mango_setup::GroupWithTokens { group, .. } = mango_setup::GroupWithTokensConfig { + let GroupWithTokens { group, .. } = GroupWithTokensConfig { admin, payer, - mints, + mints: mints.to_vec(), + ..GroupWithTokensConfig::default() } .create(solana) .await;