From 56b5b6664cad9b69cb1b3eef092ded1d38fee3ad Mon Sep 17 00:00:00 2001 From: dafyddd Date: Thu, 8 Sep 2022 15:05:50 -0700 Subject: [PATCH 1/2] update deploy time for 3.6.1 --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index ffb3c726..c14a53b9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ # Mango Program Change Log ## v3.6.1 -Deployed: | Slot: +Deployed: Sep 8, 2022 at 21:50:42 UTC | Slot: 149,790,592 1. Fix perp health simulation for advanced order execution ## v3.6.0 From 7eddecb923472c31dda94eae75a781a480d24920 Mon Sep 17 00:00:00 2001 From: supu Date: Tue, 13 Sep 2022 10:42:58 +0800 Subject: [PATCH 2/2] owner_pk should be writable in close_mango_account --- program/src/instruction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/instruction.rs b/program/src/instruction.rs index e4935eb0..2dd4cbf9 100644 --- a/program/src/instruction.rs +++ b/program/src/instruction.rs @@ -1901,7 +1901,7 @@ pub fn close_mango_account( let accounts = vec![ AccountMeta::new(*mango_group_pk, false), AccountMeta::new(*mango_account_pk, false), - AccountMeta::new_readonly(*owner_pk, true), + AccountMeta::new(*owner_pk, true), ]; let instr = MangoInstruction::CloseMangoAccount;