aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/message_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-11-25 19:25:31 +0800
committerFelix Lange <fjl@twurst.com>2014-11-25 19:25:31 +0800
commit6049fcd52ab10362721a352cfd7a93a01c3ffa97 (patch)
tree0ebfbe3148639348d1777d93d738a055768158d8 /p2p/message_test.go
parentc1fca72552386868d28ce7541691e53e55673549 (diff)
downloaddexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.gz
dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.tar.zst
dexon-6049fcd52ab10362721a352cfd7a93a01c3ffa97.zip
p2p: use package rlp for baseProtocol
Diffstat (limited to 'p2p/message_test.go')
-rw-r--r--p2p/message_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/message_test.go b/p2p/message_test.go
index 02d70a28b..0f51f759e 100644
--- a/p2p/message_test.go
+++ b/p2p/message_test.go
@@ -42,7 +42,7 @@ func TestEncodeDecodeMsg(t *testing.T) {
if decmsg.Size != 5 {
t.Errorf("incorrect size %d, want %d", decmsg.Size, 5)
}
- data, err := decmsg.Data()
+ data, err := decmsg.Value()
if err != nil {
t.Fatalf("first payload item decode error: %v", err)
}