isProtocolVersionMismatch property

bool get isProtocolVersionMismatch

Whether the peers disagree on Protocol.protocolVersion.

Implementation

bool get isProtocolVersionMismatch =>
    code == Protocol.errorUnsupportedProtocolVersion;