mirror of https://github.com/bitcoin/bitcoin
debug_log_bytes returned "an opaque number when in text mode" (https://docs.python.org/3/tutorial/inputoutput.html#methods-of-file-objects), not the number of bytes. Fix this by using binary mode or text mode (with the same encoding) consistently when opening the file for ftell() and read().pull/28035/head
parent
24d5cf9314
commit
fa63326fbc
Loading…
Reference in new issue