Skip to content

Commit 1df4918

Browse files
committed
Merge pull request #71
2fbb400 Minor string bug, that doesn't work in python2 (ritzdorf)
2 parents ce31d0a + 2fbb400 commit 1df4918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)