From 2eee827d39e0b1f7e9b8f0a316fcbf9b4225aee8 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sat, 15 Oct 2022 17:20:22 -0500 Subject: [PATCH] wip: debugging --- src/delegation.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/delegation.rs b/src/delegation.rs index de324e4..9ab258a 100644 --- a/src/delegation.rs +++ b/src/delegation.rs @@ -105,14 +105,15 @@ pub fn validate_delegation( // return the parsed condition query cond_query.parse::().ok() } else { + debug!("client sent an delegation signature that did not validate"); None } } else { - debug!("client sent malformed pubkey"); + debug!("client sent malformed delegation pubkey"); None } } else { - info!("error converting digest to secp256k1 message"); + info!("error converting delegation digest to secp256k1 message"); None } }