Allow longer rlpx protocol names (for compatability with swarm)

This commit is contained in:
nolash 2019-08-17 16:14:08 +02:00 committed by zah
parent 9fb79d0d88
commit 5dc8117a07
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ proc p2pProtocolBackendImpl*(protocol: P2PProtocol): Backend =
if protocol.rlpxName.len == 0: protocol.rlpxName = protocol.name if protocol.rlpxName.len == 0: protocol.rlpxName = protocol.name
# By convention, all Ethereum protocol names must be abbreviated to 3 letters # By convention, all Ethereum protocol names must be abbreviated to 3 letters
doAssert protocol.rlpxName.len == 3 doAssert protocol.rlpxName.len > 2
new result new result