From af802035220b4195ed81f96b6d6a10496584044d Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 4 Oct 2021 13:14:48 -0700 Subject: [PATCH] Merge transfer instructions --- programs/zk-token-proof/src/lib.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/programs/zk-token-proof/src/lib.rs b/programs/zk-token-proof/src/lib.rs index 2bedf1ef09..6c88f321bd 100644 --- a/programs/zk-token-proof/src/lib.rs +++ b/programs/zk-token-proof/src/lib.rs @@ -44,13 +44,9 @@ pub fn process_instruction( ic_msg!(invoke_context, "VerifyWithdraw"); verify::(input, invoke_context) } - ProofInstruction::VerifyTransferRangeProofData => { - ic_msg!(invoke_context, "VerifyTransferRangeProofData"); - verify::(input, invoke_context) - } - ProofInstruction::VerifyTransferValidityProofData => { - ic_msg!(invoke_context, "VerifyTransferValidityProofData"); - verify::(input, invoke_context) + ProofInstruction::VerifyTransfer => { + ic_msg!(invoke_context, "VerifyTransfer"); + verify::(input, invoke_context) } } }