commit 51d047a35e0c184c03f315b45cf6292e608cb483
parent 4c234397ec6d6012a32e3247640f94ae2d76d158
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 22 May 2018 12:55:50 +0200
fix #4375
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py
@@ -870,7 +870,7 @@ class Network(util.DaemonThread):
next_height = None
else:
interface.print_error('checkpoint conflicts with existing fork', branch.path())
- branch.write('', 0)
+ branch.write(b'', 0)
branch.save_header(interface.bad_header)
interface.mode = 'catch_up'
interface.blockchain = branch