Skip to content

Commit

Permalink
Cleaning up warnings - removing dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
peat committed Oct 18, 2019
1 parent 9f7b6bb commit f18a765
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/src/peer_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ use quick_error::quick_error;
use multihash;
use std::{convert::TryFrom, fmt, str::FromStr};

/// Public keys with byte-lengths smaller than `MAX_INLINE_KEY_LENGTH` will be
/// automatically used as the peer id using an identity multihash.
const MAX_INLINE_KEY_LENGTH: usize = 42;

/// Identifier of a peer of the network.
///
/// The data is a multihash of the public key of the peer.
Expand Down

0 comments on commit f18a765

Please sign in to comment.