forked from LBRYCommunity/lbry-sdk
convert amount
This commit is contained in:
parent
492fc510fa
commit
7ac0fc5a24
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ class LBRYWallet(object):
|
|||
def _format_claim_for_return(self, name, claim, txid, metadata=None, meta_version=None):
|
||||
result = {}
|
||||
result['claim_id'] = claim['claimId']
|
||||
result['amount'] = claim['nEffectiveAmount']
|
||||
result['amount'] = Decimal(claim['nEffectiveAmount'] / COIN)
|
||||
result['height'] = claim['nHeight']
|
||||
result['name'] = name
|
||||
result['txid'] = txid
|
||||
|
|
Loading…
Reference in a new issue