Merge pull request #14 from daglabs/dev-38-peer-primitive-blockdag

Dev 38 peer primitive blockdag
This commit is contained in:
stasatdaglabs 2018-07-12 15:19:56 +03:00 committed by GitHub
commit c9cdd2c81f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -502,7 +502,7 @@ func TestPeerListeners(t *testing.T) {
{ {
"OnBlock", "OnBlock",
wire.NewMsgBlock(wire.NewBlockHeader(1, wire.NewMsgBlock(wire.NewBlockHeader(1,
&daghash.Hash{}, &daghash.Hash{}, 1, 1)), []daghash.Hash{}, &daghash.Hash{}, 1, 1)),
}, },
{ {
"OnInv", "OnInv",
@ -568,7 +568,7 @@ func TestPeerListeners(t *testing.T) {
{ {
"OnMerkleBlock", "OnMerkleBlock",
wire.NewMsgMerkleBlock(wire.NewBlockHeader(1, 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 version message is allowed
// only one verack message is allowed // only one verack message is allowed