Skip to content

Commit

Permalink
Fix unnound
Browse files Browse the repository at this point in the history
  • Loading branch information
atmoner committed Sep 10, 2024
1 parent fa025b6 commit 5bbc140
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/libs/msgTypeTxDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ export function setMsg(msg, msgData, addrGet, timestamp, allVal, txHash) {
color = "#f15249";
icon = "Unstake.svg";
finalHash = txHash;
/* msgData = {
delegator_address: msg.delegator_address,
validator_address: foundVal?.name,
amount: msg.amount.amount / 1000000,
}; */
msgData = {
delegator_address: msgData.delegator_address,
//validator_address: foundVal?.name,
amount: msgData.amount.amount / 1000000,
};
console.log('Unbond', msgData);
break;
case "/cosmos.gov.v1beta1.MsgSubmitProposal":
type = msg["@type"];
Expand Down

0 comments on commit 5bbc140

Please sign in to comment.