Skip to content

Commit f18a765

Browse files
committed
Cleaning up warnings - removing dead code
1 parent 9f7b6bb commit f18a765

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/src/peer_id.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ use quick_error::quick_error;
2424
use multihash;
2525
use std::{convert::TryFrom, fmt, str::FromStr};
2626

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-
3127
/// Identifier of a peer of the network.
3228
///
3329
/// The data is a multihash of the public key of the peer.

0 commit comments

Comments
 (0)