mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
[NOD-1064] Don't send GetBlockInvsMsg with lowHash = nil (#769)
This commit is contained in:
parent
03cb6cbd4d
commit
1e6458973b
@ -585,7 +585,7 @@ func TestOutboundPeer(t *testing.T) {
|
||||
if _, err := p2.PushAddrMsg(addrs, nil); err != nil {
|
||||
t.Fatalf("PushAddrMsg: unexpected err %v\n", err)
|
||||
}
|
||||
if err := p2.PushGetBlockInvsMsg(nil, &daghash.Hash{}); err != nil {
|
||||
if err := p2.PushGetBlockInvsMsg(&daghash.Hash{}, &daghash.Hash{}); err != nil {
|
||||
t.Fatalf("PushGetBlockInvsMsg: unexpected err %v\n", err)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user