From 1c36b1b49388a1904c8f97b0c3e9ff6d4d4d7d9d Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 16 Dec 2022 13:06:58 +0100 Subject: [PATCH] Fix rust test compilation --- programs/mango-v4/tests/program_test/mango_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/mango-v4/tests/program_test/mango_client.rs b/programs/mango-v4/tests/program_test/mango_client.rs index 2e8815e21..923199d03 100644 --- a/programs/mango-v4/tests/program_test/mango_client.rs +++ b/programs/mango-v4/tests/program_test/mango_client.rs @@ -1590,7 +1590,7 @@ impl ClientInstruction for AccountCloseInstruction { _account_loader: impl ClientAccountLoader + 'async_trait, ) -> (Self::Accounts, instruction::Instruction) { let program_id = mango_v4::id(); - let instruction = Self::Instruction {}; + let instruction = Self::Instruction { force_close: false }; let accounts = Self::Accounts { group: self.group,