mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-08 19:49:45 +00:00
fix swap
This commit is contained in:
parent
afda151bc6
commit
0b6d7dbbc9
1 changed files with 3 additions and 0 deletions
|
@ -216,6 +216,9 @@ class Blockchain(util.PrintError):
|
||||||
self.write_header(h)
|
self.write_header(h)
|
||||||
self.headers = []
|
self.headers = []
|
||||||
self.is_saved = True
|
self.is_saved = True
|
||||||
|
# update pointers
|
||||||
|
blockchains[self.checkpoint] = self
|
||||||
|
blockchains[parent.checkpoint] = parent
|
||||||
|
|
||||||
def save_header(self, header):
|
def save_header(self, header):
|
||||||
N = 10
|
N = 10
|
||||||
|
|
Loading…
Add table
Reference in a new issue