From 639ef7119de6c8d4ed1678a654b89f0c841cdebe Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 6 Dec 2012 10:36:05 +0100 Subject: [PATCH] fix bug: to_address -> address --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index c5f948a9..b28e0c30 100644 --- 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')