git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
903afd1
)
Revert height comparison change
author
CryptoManiac
<balthazar@yandex.ru>
Wed, 23 Jul 2014 20:08:41 +0000 (
00:08
+0400)
committer
CryptoManiac
<balthazar@yandex.ru>
Wed, 23 Jul 2014 20:08:41 +0000 (
00:08
+0400)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
169d008
..
bcb0721
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-578,7
+578,7
@@
class Abstract_Wallet(object):
inputs = []
for item in coins:
- if (item.get('coinbase') or item.get('coinstake')) and item.get('height') + COINBASE_MATURITY < self.network.get_local_height():
+ if (item.get('coinbase') or item.get('coinstake')) and item.get('height') + COINBASE_MATURITY > self.network.get_local_height():
continue
v = item.get('value')
total += v