zk-token-sdk: verify WithdrawWithheldTokens proof under the correct context (#24923)

This commit is contained in:
samkim-crypto 2022-05-03 13:44:47 +09:00 committed by GitHub
parent eca0eb9585
commit 342a946204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ pub fn process_instruction(
}
ProofInstruction::VerifyWithdrawWithheldTokens => {
ic_msg!(invoke_context, "VerifyWithdrawWithheldTokens");
verify::<WithdrawData>(invoke_context)
verify::<WithdrawWithheldTokensData>(invoke_context)
}
ProofInstruction::VerifyTransfer => {
ic_msg!(invoke_context, "VerifyTransfer");