Skip to content

Commit 1e62df8

Browse files
committed
bytes
1 parent bfd29da commit 1e62df8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitcoin/core/serialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def compact_from_uint256(v):
337337
return compact | nbytes << 24
338338

339339
def uint256_to_str(u):
340-
r = ""
340+
r = b""
341341
for i in range(8):
342342
r += struct.pack('<I', u >> (i * 32) & 0xffff)
343343
return r

0 commit comments

Comments
 (0)