diff --git a/zk-token-sdk/src/instruction/withdraw.rs b/zk-token-sdk/src/instruction/withdraw.rs index 6a493d541fbc54..27a59866356171 100644 --- a/zk-token-sdk/src/instruction/withdraw.rs +++ b/zk-token-sdk/src/instruction/withdraw.rs @@ -161,7 +161,7 @@ impl WithdrawProof { Self { commitment: pod_commitment, - equality_proof: equality_proof.try_into().expect("equality proof"), + equality_proof: equality_proof.into(), range_proof: range_proof.try_into().expect("range proof"), } }