Merge pull request #6649 from paritytech/eip8-fix
Fixed network protocol version negotiation
This commit is contained in:
commit
77933aa8a1
@ -511,6 +511,7 @@ impl Session {
|
||||
i += 1;
|
||||
}
|
||||
debug!(target: "network", "Hello: {} v{} {} {:?}", client_version, protocol, id, caps);
|
||||
let protocol = ::std::cmp::min(protocol, host.protocol_version);
|
||||
self.info.protocol_version = protocol;
|
||||
self.info.client_version = client_version;
|
||||
self.info.capabilities = caps;
|
||||
|
Loading…
Reference in New Issue
Block a user