zk-token-sdk: add verify transfer with fee instruction (#22924)

This commit is contained in:
samkim-crypto
2022-02-04 08:52:49 -05:00
committed by GitHub
parent f73b470ec0
commit a47b76afcc
3 changed files with 22 additions and 1 deletions

View File

@ -53,5 +53,9 @@ pub fn process_instruction(
ic_msg!(invoke_context, "VerifyTransfer");
verify::<TransferData>(input, invoke_context)
}
ProofInstruction::VerifyTransferWithFee => {
ic_msg!(invoke_context, "VerifyTransferWithFee");
verify::<TransferWithFeeData>(input, invoke_context)
}
}
}