1
0
mirror of https://github.com/scsibug/nostr-rs-relay.git synced 2025-07-30 16:08:28 -04:00

wip: debugging

This commit is contained in:
Greg Heartsfield
2022-10-15 17:20:22 -05:00
parent c4fbfb689b
commit 2eee827d39

@@ -105,14 +105,15 @@ pub fn validate_delegation(
// return the parsed condition query // return the parsed condition query
cond_query.parse::<ConditionQuery>().ok() cond_query.parse::<ConditionQuery>().ok()
} else { } else {
debug!("client sent an delegation signature that did not validate");
None None
} }
} else { } else {
debug!("client sent malformed pubkey"); debug!("client sent malformed delegation pubkey");
None None
} }
} else { } else {
info!("error converting digest to secp256k1 message"); info!("error converting delegation digest to secp256k1 message");
None None
} }
} }