commit 8c3a7f7842f84126f4eb892e78f6c125587e651a
parent 25e411639355fce3588325c8f9170e222ccc2245
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 16 Jan 2017 10:06:36 +0100
Merge branch 'master' of git://github.com/spesmilo/electrum
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -166,7 +166,7 @@ class Commands:
def listunspent(self):
"""List unspent outputs. Returns the list of unspent transaction
outputs in your wallet."""
- l = copy.deepcopy(self.wallet.get_spendable_coins(exclude_frozen = False))
+ l = copy.deepcopy(self.wallet.get_utxos(exclude_frozen=False))
for i in l:
v = i["value"]
i["value"] = float(v)/COIN if v is not None else None