From 768aefe5315afb192ea77803bee62782edfd21ef Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 24 Apr 2023 20:14:15 -0500 Subject: [PATCH] peer: Minor summary debug log cleanup. --- peer/log.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/peer/log.go b/peer/log.go index 9d86296c4b..90f80e615f 100644 --- a/peer/log.go +++ b/peer/log.go @@ -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. @@ -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.