Browse Source

Merge pull request #48 from zixuanzh/libp2p-cons-fix

made idOpt optional
pull/51/head
Alex Haynes 6 years ago
committed by GitHub
parent
commit
4b098ae137
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libp2p/libp2p.py

2
libp2p/libp2p.py

@ -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…
Cancel
Save