tfix get_branch_size - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit afda151bc67e783b6f7ff567ebc087e1a28d2cf9 DIR parent 6ee0ad8499181f0ddc3fcd0262ada3bcfdc19107 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 19 Jul 2017 06:24:53 +0200 fix get_branch_size Diffstat: M lib/blockchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/blockchain.py b/lib/blockchain.py t@@ -113,7 +113,7 @@ class Blockchain(util.PrintError): def get_branch_size(self): mc = self.get_max_child() checkpoint = mc if mc is not None else self.checkpoint - return self.height() - checkpoint + return self.height() - checkpoint + 1 def check_header(self, header): header_hash = hash_header(header)