mirror of https://github.com/ethereum/go-ethereum
p2p: fix DiscReason encoding/decoding (#30855)
This fixes an issue where the disconnect message was not wrapped in a list. The specification requires it to be a list like any other message. In order to remain compatible with legacy geth versions, we now accept both encodings when parsing a disconnect message. --------- Co-authored-by: Felix Lange <fjl@twurst.com>pull/30981/head
parent
c7e740f40c
commit
c1c2507148
Loading…
Reference in new issue