Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions peer/log.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) 2015-2016 The btcsuite developers
// Copyright (c) 2016-2021 The Decred developers
// Copyright (c) 2016-2023 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.

Expand Down Expand Up @@ -161,9 +161,8 @@ func messageSummary(msg wire.Message) string {
return fmt.Sprintf("types %v", msg.Types)

case *wire.MsgInitState:
return fmt.Sprintf("blockHashes %d, voteHashes %d, tspendHashes %d",
len(msg.BlockHashes), len(msg.VoteHashes),
len(msg.TSpendHashes))
return fmt.Sprintf("blocks %d, votes %d, treasury spends %d",
len(msg.BlockHashes), len(msg.VoteHashes), len(msg.TSpendHashes))
}

// No summary for other messages.
Expand Down