mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 23:51:07 +00:00
made idOpt optional
This commit is contained in:
@ -6,7 +6,7 @@ from Crypto.PublicKey import RSA
|
|||||||
|
|
||||||
class Libp2p(object):
|
class Libp2p(object):
|
||||||
|
|
||||||
def __init__(self, idOpt, \
|
def __init__(self, idOpt = None, \
|
||||||
transportOpt = ["/ip4/127.0.0.1/tcp/10000"], \
|
transportOpt = ["/ip4/127.0.0.1/tcp/10000"], \
|
||||||
muxerOpt = ["mplex/6.7.0"], \
|
muxerOpt = ["mplex/6.7.0"], \
|
||||||
secOpt = ["secio"], \
|
secOpt = ["secio"], \
|
||||||
|
|||||||
Reference in New Issue
Block a user