diff --git a/msgblock.go b/msgblock.go index a4a3208d8..5e57bf73e 100644 --- a/msgblock.go +++ b/msgblock.go @@ -12,8 +12,8 @@ import ( // MaxBlocksPerMsg is the maximum number of blocks allowed per message. const MaxBlocksPerMsg = 500 -// MaxBlockPayload is the maximum bytes a block message can be. -const MaxBlockPayload = (1024 * 1024) // 1MB +// MaxBlockPayload is the maximum bytes a block message can be in bytes. +const MaxBlockPayload = 1000000 // Not actually 1MB which would be 1024 * 1024 // TxLoc holds locator data for the offset and length of where a transaction is // located within a MsgBlock data buffer.