p2p: use package rlp for baseProtocol

This commit is contained in:
Felix Lange
2014-11-25 12:25:31 +01:00
parent c1fca72552
commit 6049fcd52a
4 changed files with 71 additions and 58 deletions

View File

@ -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)
}