electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1e24dbd94b9d1c1cf4f2b2e8647faff9cbf76abd
parent 63cff71f91f3c436ae4e33b9ee65fa7ef12986d8
Author: ThomasV <thomasv@electrum.org>
Date:   Wed,  4 Jan 2017 18:08:58 +0100

fix #2096 (variable name)

Diffstat:
Mlib/wallet.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -816,7 +816,7 @@ class Abstract_Wallet(PrintError): raise BaseException("More than one output set to spend max") i_max = i - # Avoid index-out-of-range with coins[0] below + # Avoid index-out-of-range with inputs[0] below if not inputs: raise NotEnoughFunds() @@ -837,7 +837,7 @@ class Abstract_Wallet(PrintError): if not change_addrs: change_addrs = [random.choice(addrs)] else: - change_addrs = [coins[0]['address']] + change_addrs = [inputs[0]['address']] # Fee estimator if fixed_fee is None: