From 90bf9e7449bffcf1814f06b625f8de92b7636247 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 27 Jul 2013 15:32:01 -0500 Subject: [PATCH] Update tests for corrected max block payload size. --- msgblock_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgblock_test.go b/msgblock_test.go index 780a657e..5196e17a 100644 --- a/msgblock_test.go +++ b/msgblock_test.go @@ -35,7 +35,7 @@ func TestBlock(t *testing.T) { // Ensure max payload is expected value for latest protocol version. // Num addresses (varInt) + max allowed addresses. - wantPayload := uint32(1024 * 1024) + wantPayload := uint32(1000000) maxPayload := msg.MaxPayloadLength(pver) if maxPayload != wantPayload { t.Errorf("MaxPayloadLength: wrong max payload length for "+