tdon't display hashes or addresses as default labels - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 524db55b904c75797acd389f459c8c9fea82e65b
DIR parent 7411476cfbe35c43f6adb4a385441ab7ec98b160
HTML Author: ThomasV <thomasv@gitorious>
Date: Sun, 19 Apr 2015 14:30:44 +0200
don't display hashes or addresses as default labels
Diffstat:
M lib/wallet.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -792,10 +792,8 @@ class Abstract_Wallet(object):
assert self.is_mine(addr)
label = self.labels.get(addr)
if label:
- break
- label = ">" + addr
- return label
- return tx_hash
+ return label
+ return ''
def get_tx_fee(self, tx):
# this method can be overloaded