mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
[DEV-34] Updated peer test to compile and run when there are multiple prevBlockHashes
This commit is contained in:
parent
4b5e99e486
commit
dbcc15c552
@ -502,7 +502,7 @@ func TestPeerListeners(t *testing.T) {
|
||||
{
|
||||
"OnBlock",
|
||||
wire.NewMsgBlock(wire.NewBlockHeader(1,
|
||||
&daghash.Hash{}, &daghash.Hash{}, 1, 1)),
|
||||
[]daghash.Hash{}, &daghash.Hash{}, 1, 1)),
|
||||
},
|
||||
{
|
||||
"OnInv",
|
||||
@ -568,7 +568,7 @@ func TestPeerListeners(t *testing.T) {
|
||||
{
|
||||
"OnMerkleBlock",
|
||||
wire.NewMsgMerkleBlock(wire.NewBlockHeader(1,
|
||||
&daghash.Hash{}, &daghash.Hash{}, 1, 1)),
|
||||
[]daghash.Hash{}, &daghash.Hash{}, 1, 1)),
|
||||
},
|
||||
// only one version message is allowed
|
||||
// only one verack message is allowed
|
||||
|
Loading…
x
Reference in New Issue
Block a user