mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
debug
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user