mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-12 09:06:52 +00:00
Merge pull request #14 from daglabs/dev-38-peer-primitive-blockdag
Dev 38 peer primitive blockdag
This commit is contained in:
commit
c9cdd2c81f
@ -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