mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
Fix listunspent command
This commit is contained in:
parent
d0755698ce
commit
d6be2a4ae2
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,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_spendable_coins(exclude_frozen = False))
|
l = copy.deepcopy(self.wallet.get_utxos(exclude_frozen=False))
|
||||||
for i in l:
|
for i in l:
|
||||||
v = i["value"]
|
v = i["value"]
|
||||||
i["value"] = float(v)/COIN if v is not None else None
|
i["value"] = float(v)/COIN if v is not None else None
|
||||||
|
|
Loading…
Add table
Reference in a new issue