We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eeaea1 commit 90a7991Copy full SHA for 90a7991
iroh/src/disco.rs
@@ -106,7 +106,7 @@ pub fn source_and_box(p: &[u8]) -> Option<(PublicKey, &[u8])> {
106
/// If `p` looks like a disco message it returns the slice of `p` that represents the disco public key source,
107
/// and the part that is the box.
108
pub fn source_and_box_bytes(p: &Bytes) -> Option<(PublicKey, Bytes)> {
109
- if !looks_like_disco_wrapper(&p) {
+ if !looks_like_disco_wrapper(p) {
110
return None;
111
}
112
0 commit comments