mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-21 16:59:06 -05:00
wip: debugging
This commit is contained in:
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user