From 8a85ab96e87cb92f4090a04f0884a75f4a97a97e Mon Sep 17 00:00:00 2001 From: SrikanthSoparla Date: Tue, 17 Dec 2024 11:18:54 +0530 Subject: [PATCH] claim fixes. --- src/containers/Home/TokenDetails/index.js | 2 +- src/helper.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/containers/Home/TokenDetails/index.js b/src/containers/Home/TokenDetails/index.js index b5fed0c..3a8e283 100644 --- a/src/containers/Home/TokenDetails/index.js +++ b/src/containers/Home/TokenDetails/index.js @@ -90,7 +90,7 @@ const TokenDetails = (props) => {

{rewards > 0 ? rewards.toFixed(4) : 0}

- {/* */} + {/* /!* *!/ */} {/* /!* *!/ */}
diff --git a/src/helper.js b/src/helper.js index a165515..0857ea0 100644 --- a/src/helper.js +++ b/src/helper.js @@ -625,6 +625,7 @@ export const claimTransaction = (Tx, txs, type, cb) => { Tx.map((newTx) => { (async () => { const bondMsgValue = new ClaimRewardsMsgValue({ + source: newTx.source, validator: newTx.validator, }); const encoded = await tx.buildClaimRewards(wrapperTxValue, bondMsgValue); @@ -633,7 +634,7 @@ export const claimTransaction = (Tx, txs, type, cb) => { }); } else { const bondMsgValue = new ClaimRewardsMsgValue({ - // source: Tx.source, + source: Tx.source, validator: Tx.validator, }); const encoded = await tx.buildClaimRewards(wrapperTxValue, bondMsgValue);