when decoding lbryum transactions, return values as Decimal
This commit is contained in:
parent
d4b7064d2f
commit
f464b3ae7c
1 changed files with 1 additions and 1 deletions
|
@ -1067,7 +1067,7 @@ class LBRYumWallet(LBRYWallet):
|
|||
decoded_tx['vout'] = []
|
||||
for output in tx.outputs():
|
||||
out = {}
|
||||
out['value'] = output[2]
|
||||
out['value'] = Decimal(output[2]) / Decimal(COIN)
|
||||
decoded_tx['vout'].append(out)
|
||||
return decoded_tx
|
||||
|
||||
|
|
Loading…
Reference in a new issue