blockchain write method, that flushes file
This commit is contained in:
@@ -842,7 +842,7 @@ class Network(util.DaemonThread):
|
||||
next_height = None
|
||||
else:
|
||||
interface.print_error('checkpoint conflicts with existing fork', branch.path())
|
||||
open(branch.path(), 'w+').close()
|
||||
branch.write('', 0)
|
||||
branch.save_header(interface.bad_header)
|
||||
interface.mode = 'catch_up'
|
||||
interface.blockchain = branch
|
||||
|
||||
Reference in New Issue
Block a user