fix swap
This commit is contained in:
parent
afda151bc6
commit
0b6d7dbbc9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue