fix swap
This commit is contained in:
@@ -216,6 +216,9 @@ class Blockchain(util.PrintError):
|
||||
self.write_header(h)
|
||||
self.headers = []
|
||||
self.is_saved = True
|
||||
# update pointers
|
||||
blockchains[self.checkpoint] = self
|
||||
blockchains[parent.checkpoint] = parent
|
||||
|
||||
def save_header(self, header):
|
||||
N = 10
|
||||
|
||||
Reference in New Issue
Block a user