commit ab53ee27f1958e68bdf13d454c31d6f894967eac
parent 49a5994b291293b1bda9f891a8b4c6ca886e3560
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 27 Aug 2016 22:24:41 +0200
fix bug with change addresses
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -822,7 +822,7 @@ class Abstract_Wallet(PrintError):
if not change_addrs:
change_addrs = [random.choice(addrs)]
else:
- change_addrs = [address]
+ change_addrs = [coins[0]['address']]
# Fee estimator
if fixed_fee is None: