adding additional bugfixed files

This commit is contained in:
Robert Zajac
2018-11-12 11:00:43 -05:00
parent 90cb0e903e
commit 61e11a2716
9 changed files with 97 additions and 103 deletions

View File

@ -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()