commit 0b6d7dbbc91acbd300411c8b1a9837dbadb5be92 parent afda151bc67e783b6f7ff567ebc087e1a28d2cf9 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(-)
diff --git a/lib/blockchain.py b/lib/blockchain.py @@ -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