git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6b0499b
)
fix: the gap limit is one value higher than the gap
author
thomasv
<thomasv@gitorious>
Thu, 7 Jun 2012 16:59:28 +0000 (18:59 +0200)
committer
thomasv
<thomasv@gitorious>
Thu, 7 Jun 2012 16:59:28 +0000 (18:59 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
cc5074e
..
dd4ec66
100644
(file)
--- 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):