SomberNight 6 years ago
parent
commit
bc6010303a
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/commands.py

2
electrum/commands.py

@ -187,7 +187,7 @@ class Commands:
def listunspent(self): def listunspent(self):
"""List unspent outputs. Returns the list of unspent transaction """List unspent outputs. Returns the list of unspent transaction
outputs in your wallet.""" outputs in your wallet."""
l = copy.deepcopy(self.wallet.get_utxos(exclude_frozen=False)) l = copy.deepcopy(self.wallet.get_utxos())
for i in l: for i in l:
v = i["value"] v = i["value"]
i["value"] = str(Decimal(v)/COIN) if v is not None else None i["value"] = str(Decimal(v)/COIN) if v is not None else None

Loading…
Cancel
Save