tfix: the gap limit is one value higher than the gap - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit e0372fc3a622a93befc52b78a73392838bbd7f67
DIR parent 6b0499bcbcfb1bb57d0b6b154e8abb03b8d2f967
HTML Author: thomasv <thomasv@gitorious>
Date: Thu, 7 Jun 2012 18:59:28 +0200
fix: the gap limit is one value higher than the gap
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -528,7 +528,7 @@ class Wallet:
else:
n += 1
if n > nmax: nmax = n
- return nmax
+ return nmax + 1
def synchronize(self):