diff options
author | Felix Lange <fjl@twurst.com> | 2014-11-25 19:25:31 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2014-11-25 19:25:31 +0800 |
commit | 6049fcd52ab10362721a352cfd7a93a01c3ffa97 (patch) | |
tree | 0ebfbe3148639348d1777d93d738a055768158d8 /p2p/peer_test.go | |
parent | c1fca72552386868d28ce7541691e53e55673549 (diff) | |
download | dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.gz dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.bz2 dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.lz dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.xz dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.zst dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.zip |
p2p: use package rlp for baseProtocol
Diffstat (limited to 'p2p/peer_test.go')
-rw-r--r-- | p2p/peer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/peer_test.go b/p2p/peer_test.go index 56cd4d890..629475421 100644 --- a/p2p/peer_test.go +++ b/p2p/peer_test.go @@ -53,7 +53,7 @@ func TestPeerProtoReadMsg(t *testing.T) { if msg.Code != 2 { t.Errorf("incorrect msg code %d relayed to protocol", msg.Code) } - data, err := msg.Data() + data, err := msg.Value() if err != nil { t.Errorf("data decoding error: %v", err) } |