From 6ba3f4dc6dc1170076cba4ae09a23a215803dae4 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 21 Sep 2021 20:34:29 -0700 Subject: [PATCH] Add WithdrawData proof program plumbing --- programs/zk-token-proof/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/zk-token-proof/src/lib.rs b/programs/zk-token-proof/src/lib.rs index 2d73f3fcc..091d75ea1 100644 --- a/programs/zk-token-proof/src/lib.rs +++ b/programs/zk-token-proof/src/lib.rs @@ -40,5 +40,9 @@ pub fn process_instruction( ic_msg!(invoke_context, "VerifyCloseAccount"); verify::(input, invoke_context) } + ProofInstruction::VerifyWithdraw => { + ic_msg!(invoke_context, "VerifyWithdraw"); + verify::(input, invoke_context) + } } }