tfix prev; offset is relative to last forking height - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 151aa9d13596ab714cb1ddf712e171faa67fb2a7
DIR parent 02c7524d759b5d65b92b69dc0af78756aaf091cb
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 22 Feb 2018 16:59:37 +0100
fix prev; offset is relative to last forking height
Diffstat:
M lib/blockchain.py | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
DIR diff --git a/lib/blockchain.py b/lib/blockchain.py
t@@ -226,9 +226,6 @@ class Blockchain(util.PrintError):
if truncate and offset != self._size*80:
f.seek(offset)
f.truncate()
- self.print_error(
- 'write. truncating to offset {}, which is around chunk {}'
- .format(offset, offset//80//2016))
f.seek(offset)
f.write(data)
f.flush()