From e9888440e3aa8c67380aec280b10e52017c25dd6 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Mon, 10 Oct 2022 22:17:40 +0200 Subject: [PATCH] debug --- cashu/mint/ledger.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cashu/mint/ledger.py b/cashu/mint/ledger.py index ed96231..c9eb0ed 100644 --- a/cashu/mint/ledger.py +++ b/cashu/mint/ledger.py @@ -127,6 +127,9 @@ class Ledger: f"Using legacy hash_to_curve for proof from keyset {proof.id} or client with version {context.get('client-version')}" ) return legacy.verify_pre_0_3_3(secret_key, C, proof.secret) + logger.debug( + f"Using new hash_to_curve for proof from keyset {proof.id} or client with version {context.get('client-version')}" + ) return b_dhke.verify(secret_key, C, proof.secret) def _verify_script(self, idx: int, proof: Proof):