made idOpt optional
This commit is contained in:
parent
80d531f086
commit
cca13cbfea
|
@ -6,7 +6,7 @@ from Crypto.PublicKey import RSA
|
|||
|
||||
class Libp2p(object):
|
||||
|
||||
def __init__(self, idOpt, \
|
||||
def __init__(self, idOpt = None, \
|
||||
transportOpt = ["/ip4/127.0.0.1/tcp/10000"], \
|
||||
muxerOpt = ["mplex/6.7.0"], \
|
||||
secOpt = ["secio"], \
|
||||
|
|
Loading…
Reference in New Issue
Block a user