mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
made idOpt optional
This commit is contained in:
@ -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"], \
|
||||
|
||||
Reference in New Issue
Block a user