mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Go with immutable datatype in lieu of mutable datatype
This commit is contained in:
@ -45,7 +45,7 @@ async def set_up_nodes_by_transport_and_disc_opt(transport_disc_opt_list):
|
||||
return tuple(nodes_list)
|
||||
|
||||
|
||||
async def set_up_routers(router_confs=[0, 0]):
|
||||
async def set_up_routers(router_confs=(0, 0)):
|
||||
"""The default ``router_confs`` selects two free ports local to this
|
||||
machine."""
|
||||
bootstrap_node = KademliaServer()
|
||||
|
||||
Reference in New Issue
Block a user