commit 2ca16dc2c2509775dfd07691f00602303db5b9b3
parent 3ae348791fa870082aa7033e43505fc2db799f6b
Author: ThomasV <thomasv@gitorious>
Date: Fri, 8 Jun 2012 20:51:10 +0200
fix: distinguish between addr and m_addr
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/electrum b/electrum
@@ -393,10 +393,10 @@ if __name__ == '__main__':
# else: no += 1
b = format_satoshis(wallet.get_addr_balance(addr)[0])
else: b=''
- addr = "%34s"%addr
+ m_addr = "%34s"%addr
if options.show_keys:
- addr += ':' + str(wallet.get_private_key_base58(addr, password))
- print flags, addr, b, label
+ m_addr += ':' + str(wallet.get_private_key_base58(addr, password))
+ print flags, m_addr, b, label
if cmd == 'history':
lines = wallet.get_tx_history()