tMerge branch 'master' of github.com:spesmilo/electrum - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 6b7ad42ec55003324ed6971529898af9bf3307a9
DIR parent 6bd57d4829b127b022946871bf84ad0aabf3fef6
HTML Author: thomasv <thomasv@gitorious>
Date: Mon, 17 Dec 2012 16:21:53 +0100
Merge branch 'master' of github.com:spesmilo/electrum
Diffstat:
M lib/receiving_widget.py | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
DIR diff --git a/lib/receiving_widget.py b/lib/receiving_widget.py
t@@ -44,10 +44,14 @@ class ReceivingWidget(QTreeWidget):
# It appears that at this moment history can either be an array with tx and block height
# Or just a tx that's why this ugly code duplication is in, will fix
if len(history) == 1:
- for tx_hash in history:
- tx = self.owner.actuator.wallet.transactions.get(tx_hash)
- if tx:
- used = "Yes"
+ # This means pruned data. If that's the case the address has to been used at one point
+ if history[0] == "*":
+ used = "Yes"
+ else:
+ for tx_hash in history:
+ tx = self.owner.actuator.wallet.transactions.get(tx_hash)
+ if tx:
+ used = "Yes"
else:
for tx_hash, height in history:
tx = self.owner.actuator.wallet.transactions.get(tx_hash)