From 1bd18c84f24e63694bb81aad93667fa9dc43e7ce Mon Sep 17 00:00:00 2001 From: Kevin Mai-Husan Chia Date: Tue, 24 Sep 2019 12:33:14 +0800 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Alex Stokes --- libp2p/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/__init__.py b/libp2p/__init__.py index cbff1e4..9e452ca 100644 --- a/libp2p/__init__.py +++ b/libp2p/__init__.py @@ -114,8 +114,8 @@ async def new_node( key_pair: KeyPair = None, swarm_opt: INetwork = None, transport_opt: Sequence[str] = None, - muxer_opt: Mapping[TProtocol, TMuxerClass] = None, - sec_opt: Mapping[TProtocol, ISecureTransport] = None, + muxer_opt: TMuxerOptions = None, + sec_opt: TSecurityOptions = None, peerstore_opt: IPeerStore = None, disc_opt: IPeerRouting = None, ) -> BasicHost: