diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-04 19:03:43 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-04 19:27:24 +0800 |
commit | 7964f30dcbdde00b2960ef6e98320e0a0f9300e2 (patch) | |
tree | add3fbd54ec615135f3ecdac2917d22e77581d56 /p2p/server_test.go | |
parent | 21649100b1ed64c9bd73c547360dd6db9b5218fb (diff) | |
download | go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.tar go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.tar.gz go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.tar.bz2 go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.tar.lz go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.tar.xz go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.tar.zst go-tangerine-7964f30dcbdde00b2960ef6e98320e0a0f9300e2.zip |
p2p: msg.Payload contains list data
With RLPx frames, the message code is contained in the
frame and is no longer part of the encoded data.
EncodeMsg, Msg.Decode have been updated to match.
Code that decodes RLP directly from Msg.Payload will need
to change.
Diffstat (limited to 'p2p/server_test.go')
-rw-r--r-- | p2p/server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/server_test.go b/p2p/server_test.go index c348f5a9a..30447050c 100644 --- a/p2p/server_test.go +++ b/p2p/server_test.go @@ -150,7 +150,7 @@ func TestServerBroadcast(t *testing.T) { // broadcast one message srv.Broadcast("discard", 0, "foo") - golden := unhex("66e94e166f0a2c3b884cfa59ca34") + golden := unhex("66e94d166f0a2c3b884cfa59ca34") // check that the message has been written everywhere for i, conn := range conns { |