fix WithdrawStake amount

This commit is contained in:
Marco van Dijk 2022-03-02 17:25:38 +01:00
parent a628f74841
commit d443ad6a21

View File

@ -28,7 +28,7 @@ const EventButton = (obj) => {
</div>
} else if (obj.name == "WithdrawStake") {
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(255, 0, 0, 0.3)' }}>
<p>{obj.data.delegator} withdrew stake worth {obj.data.bondedAmount / 1000000000000000000} LPT in round {obj.data.withdrawRound}</p>
<p>{obj.data.delegator} withdrew stake worth {obj.data.amount / 1000000000000000000} LPT in round {obj.data.withdrawRound}</p>
</div>
} else if (obj.name == "Reward") {
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(0, 179, 221, 0.3)' }}>