From e0372fc3a622a93befc52b78a73392838bbd7f67 Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 7 Jun 2012 18:59:28 +0200 Subject: [PATCH] fix: the gap limit is one value higher than the gap --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index cc5074eb..dd4ec66a 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -528,7 +528,7 @@ class Wallet: else: n += 1 if n > nmax: nmax = n - return nmax + return nmax + 1 def synchronize(self):