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 9f7b6bb commit f18a765Copy full SHA for f18a765
core/src/peer_id.rs
@@ -24,10 +24,6 @@ use quick_error::quick_error;
24
use multihash;
25
use std::{convert::TryFrom, fmt, str::FromStr};
26
27
-/// Public keys with byte-lengths smaller than `MAX_INLINE_KEY_LENGTH` will be
28
-/// automatically used as the peer id using an identity multihash.
29
-const MAX_INLINE_KEY_LENGTH: usize = 42;
30
-
31
/// Identifier of a peer of the network.
32
///
33
/// The data is a multihash of the public key of the peer.
0 commit comments