From f772e352c6a2fef6444d36f31da593b94dbc3b12 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 12 Oct 2024 10:51:39 -0400 Subject: [PATCH] Add back `cA` due to signing with `r - cx` --- payment-proofs/src/out_proof.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payment-proofs/src/out_proof.rs b/payment-proofs/src/out_proof.rs index e005b70..9853710 100644 --- a/payment-proofs/src/out_proof.rs +++ b/payment-proofs/src/out_proof.rs @@ -131,8 +131,8 @@ impl OutProof { if c == Self::challenge( address, - s_commitment_generator - (c * key), - s_commitment_view_key - (c * ecdh), + s_commitment_generator + (c * key), + s_commitment_view_key + (c * ecdh), key, ecdh, message,