mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Update tests for corrected max block payload size.
This commit is contained in:
parent
9989865fa2
commit
90bf9e7449
@ -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 "+
|
||||
|
Loading…
x
Reference in New Issue
Block a user