Skip to content

Commit

Permalink
fix: mistakes in network detail command response
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Dec 27, 2023
1 parent a608b7e commit 77b910b
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 @@ -441,10 +441,10 @@ func (b *Bot) networkInfo() string {
return msg
}
msg += "\n📊 The current statistics are:\n"
msg += fmt.Sprintf("🕧Network started at: %v\n", time.UnixMilli(nodes.StartedAt*1000).Format("02/01/2006, 15:04:05"))
msg += fmt.Sprintf("Node started at: %v\n", time.UnixMilli(nodes.StartedAt*1000).Format("02/01/2006, 15:04:05"))
msg += fmt.Sprintf("⬆️Total bytes sent: %v\n", uint32(nodes.TotalSentBytes))
msg += fmt.Sprintf("⬇️Total bytes received: %v\n", uint32(nodes.TotalReceivedBytes))
msg += fmt.Sprintf("👾Number of peer nodes: %v\n", len(nodes.Peers))
msg += fmt.Sprintf("👾Number of connected peers: %v\n", len(nodes.Peers))
// check block height
blockchainInfo, err := b.cm.GetBlockchainInfo()
if err != nil {
Expand Down

0 comments on commit 77b910b

Please sign in to comment.