Apply suggestions from code review

Co-Authored-By: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
Kevin Mai-Husan Chia 2019-09-24 12:33:14 +08:00 committed by GitHub
parent 95ae718e3d
commit 1bd18c84f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,8 +114,8 @@ async def new_node(
key_pair: KeyPair = None, key_pair: KeyPair = None,
swarm_opt: INetwork = None, swarm_opt: INetwork = None,
transport_opt: Sequence[str] = None, transport_opt: Sequence[str] = None,
muxer_opt: Mapping[TProtocol, TMuxerClass] = None, muxer_opt: TMuxerOptions = None,
sec_opt: Mapping[TProtocol, ISecureTransport] = None, sec_opt: TSecurityOptions = None,
peerstore_opt: IPeerStore = None, peerstore_opt: IPeerStore = None,
disc_opt: IPeerRouting = None, disc_opt: IPeerRouting = None,
) -> BasicHost: ) -> BasicHost: