signatures: Skip keys which don't split so other keys can be used instead.
This commit is contained in:
parent
2edfe5bc5f
commit
920a412da1
@ -588,7 +588,7 @@ pub fn verify_event(
|
|||||||
// Since only ed25519 is supported right now, we don't actually need to check what the
|
// Since only ed25519 is supported right now, we don't actually need to check what the
|
||||||
// algorithm is. If it split successfully, it's ed25519.
|
// algorithm is. If it split successfully, it's ed25519.
|
||||||
if split_id(key_id).is_err() {
|
if split_id(key_id).is_err() {
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(signature) = signature_set.get(key_id) {
|
if let Some(signature) = signature_set.get(key_id) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user