Compare commits

...

1 Commits

Author SHA1 Message Date
Svarog
686c25c72d [NOD-1064] Don't send GetBlockInvsMsg with lowHash = nil (#769) 2020-06-21 08:58:29 +03:00

View File

@@ -607,7 +607,7 @@ func TestOutboundPeer(t *testing.T) {
t.Errorf("PushAddrMsg: unexpected err %v\n", err)
return
}
if err := p2.PushGetBlockInvsMsg(nil, &daghash.Hash{}); err != nil {
if err := p2.PushGetBlockInvsMsg(&daghash.Hash{}, &daghash.Hash{}); err != nil {
t.Errorf("PushGetBlockInvsMsg: unexpected err %v\n", err)
return
}