Skip to content

Commit

Permalink
Fix the self stake to display the active amount, not total. #233
Browse files Browse the repository at this point in the history
  • Loading branch information
kukabi committed Aug 3, 2022
1 parent 530adda commit aafc235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subvt-types/src/telegram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl TelegramChatValidatorSummary {
token_format_decimal_points: usize,
) -> TelegramChatValidatorSummary {
let self_stake_formatted = format_decimal(
validator_details.self_stake.total_amount,
validator_details.self_stake.active_amount,
token_decimals,
token_format_decimal_points,
);
Expand Down

0 comments on commit aafc235

Please sign in to comment.