From c1fca72552386868d28ce7541691e53e55673549 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 24 Nov 2014 19:02:48 +0100 Subject: p2p: use package rlp --- p2p/peer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/peer_test.go') diff --git a/p2p/peer_test.go b/p2p/peer_test.go index 1afa0ab17..56cd4d890 100644 --- a/p2p/peer_test.go +++ b/p2p/peer_test.go @@ -57,7 +57,7 @@ func TestPeerProtoReadMsg(t *testing.T) { if err != nil { t.Errorf("data decoding error: %v", err) } - expdata := []interface{}{1, []byte{0x30, 0x30, 0x30}} + expdata := []interface{}{[]byte{0x01}, []byte{0x30, 0x30, 0x30}} if !reflect.DeepEqual(data.Slice(), expdata) { t.Errorf("incorrect msg data %#v", data.Slice()) } -- cgit