fix medley of typos

This commit is contained in:
Alex Stokes 2019-11-05 17:17:07 -08:00
parent 01dc49164f
commit 8ab69b9676
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -25,7 +25,7 @@ def identify_handler_for(
) -> StreamHandlerFn:
async def handle_identify(stream: INetStream) -> None:
peer_id = stream.muxed_conn.peer_id
logger.debug("received a request for % from %", ID, peer_id)
logger.debug("received a request for %s from %s", ID, peer_id)
protobuf = Identify(
protocol_version=PROTOCOL_VERSION,
@ -40,6 +40,6 @@ def identify_handler_for(
await stream.write(response)
await stream.close()
logger.debug("succesfully handled request for % from %", ID, peer_id)
logger.debug("successfully handled request for %s from %s", ID, peer_id)
return handle_identify