From 0ce622e66890f81bb5391a666cfd58e587a4d378 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Fri, 28 Feb 2025 12:35:17 +0100 Subject: [PATCH] Update message.rs --- bitcoin/src/p2p/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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