diff --git a/bitcoin/src/p2p/message.rs b/bitcoin/src/p2p/message.rs index fda7cdd47..d02483a7f 100644 --- a/bitcoin/src/p2p/message.rs +++ b/bitcoin/src/p2p/message.rs @@ -27,7 +27,7 @@ use crate::{block, consensus, transaction}; pub const MAX_INV_SIZE: usize = 50_000; /// Maximum size, in bytes, of an encoded message -/// This by neccessity should be larger tham `MAX_VEC_SIZE` +/// This by necessity should be larger tham `MAX_VEC_SIZE` pub const MAX_MSG_SIZE: usize = 5_000_000; /// Serializer for command string