commit 639ef7119de6c8d4ed1678a654b89f0c841cdebe
parent 16a81271e42087128455e17ff258a6f74d6789c7
Author: thomasv <thomasv@gitorious>
Date: Thu, 6 Dec 2012 10:36:05 +0100
fix bug: to_address -> address
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -783,7 +783,7 @@ class Wallet:
for address, x in outputs:
if address not in self.addressbook and not self.is_mine(address):
- self.addressbook.append(to_address)
+ self.addressbook.append(address)
if label:
tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex')