Fix missing BasicHost
interface update
This commit is contained in:
parent
566e4c080d
commit
076dae50f3
|
@ -7,7 +7,7 @@ from libp2p.host.defaults import get_default_protocols
|
||||||
def test_default_protocols():
|
def test_default_protocols():
|
||||||
key_pair = create_new_key_pair()
|
key_pair = create_new_key_pair()
|
||||||
swarm = initialize_default_swarm(key_pair)
|
swarm = initialize_default_swarm(key_pair)
|
||||||
host = BasicHost(key_pair.public_key, swarm)
|
host = BasicHost(swarm)
|
||||||
|
|
||||||
mux = host.get_mux()
|
mux = host.get_mux()
|
||||||
handlers = mux.handlers
|
handlers = mux.handlers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user