From 7ac0fc5a24badea5fc5e8195275d541d95e86eb0 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 24 Sep 2016 00:49:03 -0400 Subject: [PATCH] convert amount --- lbrynet/core/LBRYWallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/core/LBRYWallet.py b/lbrynet/core/LBRYWallet.py index ebbbaf373..7280c67ef 100644 --- a/lbrynet/core/LBRYWallet.py +++ b/lbrynet/core/LBRYWallet.py @@ -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