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/message_test.go | |
parent | c1fca72552386868d28ce7541691e53e55673549 (diff) | |
download | dexon-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.go | 2 |
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) } |