Skip to content

Commit 2fbb400

Browse files
author
ritzdorf
committed
Minor string bug, that doesn't work in python2
1 parent 2a5dda4 commit 2fbb400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitcoin/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def stream_deserialize(cls, f, protover=PROTO_VERSION):
102102
# print("Going to deserialize '%s'" % msg)
103103
return cls.msg_deser(_BytesIO(msg))
104104
else:
105-
print("Command '%s' not in messagemap" % str(command, 'ascii'))
105+
print("Command '%s' not in messagemap" % repr(command))
106106
return None
107107

108108
def stream_serialize(self, f):

0 commit comments

Comments
 (0)