diff --git a/bitcoin/src/p2p/message.rs b/bitcoin/src/p2p/message.rs index 100142bc1..a78bf9c7e 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 necessity should be larger tham `MAX_VEC_SIZE` +/// This by necessity should be larger than `MAX_VEC_SIZE` pub const MAX_MSG_SIZE: usize = 5_000_000; /// Serializer for command string