tfix swap - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 0b6d7dbbc91acbd300411c8b1a9837dbadb5be92
DIR parent afda151bc67e783b6f7ff567ebc087e1a28d2cf9
HTML Author: ThomasV <thomasv@electrum.org>
Date: Wed, 19 Jul 2017 06:46:37 +0200
fix swap
Diffstat:
M lib/blockchain.py | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/lib/blockchain.py b/lib/blockchain.py
t@@ -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