mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix moe used for truncate
This commit is contained in:
parent
59bc220856
commit
e6560b8d7f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class Blockchain(util.PrintError):
|
|||
return
|
||||
self.print_error('Truncating headers file at height %d'%self.checkpoint_height)
|
||||
name = self.path()
|
||||
f = open(name, 'rwb+')
|
||||
f = open(name, 'rb+')
|
||||
f.seek(self.checkpoint_height * 80)
|
||||
f.truncate()
|
||||
f.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue