mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
convert satoshis to btc in listunspent
This commit is contained in:
parent
89958cc687
commit
f58e541384
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ class Commands:
|
|||
print_json(h)
|
||||
|
||||
def listunspent(self):
|
||||
print_json(self.wallet.get_unspent_coins())
|
||||
l = self.wallet.get_unspent_coins()
|
||||
for i in l: i["value"] = i["value"]*1e-8
|
||||
print_json(l)
|
||||
|
||||
def createrawtransaction(self, inputs, outputs):
|
||||
# convert to own format
|
||||
|
|
Loading…
Add table
Reference in a new issue