From 686c25c72d7d22bc3feaeda46fb0078f5c783b50 Mon Sep 17 00:00:00 2001 From: Svarog Date: Wed, 17 Jun 2020 14:18:00 +0300 Subject: [PATCH] [NOD-1064] Don't send GetBlockInvsMsg with lowHash = nil (#769) --- peer/peer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer/peer_test.go b/peer/peer_test.go index 29a098f11..0ac67978d 100644 --- a/peer/peer_test.go +++ b/peer/peer_test.go @@ -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 }