Code review: re-add string cast in mininode.py

This commit is contained in:
Pasta 2019-03-08 17:05:10 -06:00
parent 85ffc1d647
commit 609114a803

View File

@ -1586,7 +1586,7 @@ class NodeConn(asyncore.dispatcher):
t.deserialize(f)
self.got_message(t)
else:
logger.warning("Received unknown command from %s:%d: '%s' %s" % (self.dstaddr, self.dstport, command, repr(msg)))
logger.warning("Received unknown command from %s:%d: '%s' %s" % (self.dstaddr, self.dstport, str(command), repr(msg)))
except Exception as e:
logger.exception('got_data:', repr(e))