diff --git a/lib/reducers/cosmosV0-reducers.js b/lib/reducers/cosmosV0-reducers.js index e3f0d85ce8..0607ee99e3 100644 --- a/lib/reducers/cosmosV0-reducers.js +++ b/lib/reducers/cosmosV0-reducers.js @@ -253,10 +253,13 @@ function blockReducer(networkId, block, transactions) { } function denomLookup(denom) { - if (denom === 'uatom') { - return 'ATOM' + const lookup = { + uatom: 'ATOM', + umuon: 'MUON', + uluna: 'LUNA', + seed: 'TREE' } - return denom.toUpperCase() + return lookup[denom] ? lookup[denom] : denom.toUpperCase() } function coinReducer(coin) { diff --git a/lib/source/cosmosV2-source.js b/lib/source/cosmosV2-source.js index 1f08c63eef..f0c3e2a4c3 100644 --- a/lib/source/cosmosV2-source.js +++ b/lib/source/cosmosV2-source.js @@ -23,7 +23,7 @@ class CosmosV2API extends CosmosV0API { this.get(`/txs?message.sender=${address}${pagination}`).then( ({ txs }) => txs ), - this.get(`/txs?message.recipient=${address}${pagination}`).then( + this.get(`/txs?transfer.recipient=${address}${pagination}`).then( ({ txs }) => txs ) ]).then(([senderTxs, recipientTxs]) => [].concat(senderTxs, recipientTxs))