mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
adding additional bugfixed files
This commit is contained in:
@ -2,6 +2,8 @@ class MultiAddr:
|
||||
|
||||
# Validates input string and constructs internal representation.
|
||||
def __init__(self, addr):
|
||||
self.protocol_map = dict()
|
||||
|
||||
# Empty multiaddrs are valid.
|
||||
if not addr:
|
||||
self.protocol_map = dict()
|
||||
|
||||
Reference in New Issue
Block a user