merge bitcoin#27280: Fix TypeError (expected str instance, bytes found) in wait_for_debug_log

This commit is contained in:
Kittywhiskers Van Gogh 2024-10-05 07:59:53 +00:00
parent ecb16808a6
commit f09752cac1
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -468,7 +468,7 @@ class TestNode():
return
if time.time() >= time_end:
print_log = " - " + "\n - ".join(log.splitlines())
print_log = " - " + "\n - ".join(log.decode("utf8", errors="replace").splitlines())
break
# No sleep here because we want to detect the message fragment as fast as