Skip to content

Commit

Permalink
fix: coing to satoshi
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Jan 6, 2024
1 parent e7127ff commit 7ccd57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ func (b *Bot) messageHandler(s *discordgo.Session, m *discordgo.MessageCreate) {
msg += p.Sprintf("--------------------Validator Info----------------\n")
msg += p.Sprintf("Number: %v\n", val.Validator.Number)
msg += p.Sprintf("Last bonding height: %v\n", val.Validator.LastBondingHeight)
msg += p.Sprintf("Last sortition height: %v tPAC's\n", val.Validator.LastSortitionHeight)
msg += p.Sprintf("Stake amount: %v\n", util.ChangeToCoin(val.Validator.Stake))
msg += p.Sprintf("Last sortition height: %v\n", val.Validator.LastSortitionHeight)
msg += p.Sprintf("Stake amount: %v tPAC's\n", util.ChangeToCoin(val.Validator.Stake))
_, _ = s.ChannelMessageSendReply(m.ChannelID, msg, m.Reference())
return
}
Expand Down

0 comments on commit 7ccd57d

Please sign in to comment.