Skip to content

P2P Disconnect messages #200

@obscuren

Description

@obscuren

Disconnect messages give the following error: protocol "" error: rlp: expected String or Byte

Intentional panic trace:

List 1
panic: ******

goroutine 64 [running]:
runtime.panic(0x4303fa0, 0xc2080d4420)
    /Users/jeffrey/.go_root/src/pkg/runtime/panic.c:279 +0xf5
github.com/ethereum/go-ethereum/rlp.(*Stream).uint(0xc208005620, 0x8, 0x0, 0x0, 0x0)
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/rlp/decode.go:517 +0x236
github.com/ethereum/go-ethereum/rlp.decodeUint(0xc208005620, 0x436c7e0, 0xc2080d43d3, 0x0, 0x86, 0x0, 0x0)
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/rlp/decode.go:110 +0xa7
github.com/ethereum/go-ethereum/rlp.(*Stream).Decode(0xc208005620, 0x436fb20, 0xc2080d43d3, 0x0, 0x0)
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/rlp/decode.go:577 +0x29c
github.com/ethereum/go-ethereum/p2p.Msg.Decode(0x1, 0x1, 0x5012348, 0xc2080d05a0, 0x436fb20, 0xc2080d43d3, 0x0, 0x0)
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/p2p/message.go:50 +0x73
github.com/ethereum/go-ethereum/p2p.(*baseProtocol).handle(0xc20811a100, 0x5012128, 0xc2080d0270, 0x0, 0x0)
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/p2p/protocol.go:158 +0x296
github.com/ethereum/go-ethereum/p2p.func·003()
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/p2p/protocol.go:99 +0x53
created by github.com/ethereum/go-ethereum/p2p.runBaseProtocol
    /Users/jeffrey/go/src/github.com/ethereum/go-ethereum/p2p/protocol.go:104 +0x15d

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions