Skip to content

Commit

Permalink
Drop a verbose log down to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed May 10, 2024
1 parent bb0698b commit cfa0c3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions mixing/mixpool/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ func pickNoun(n uint64, singular, plural string) string {
}
return plural
}

// XXX: drop to debug later
func logf(format string, args ...interface{}) {
log.Infof(format, args...)
}
2 changes: 1 addition & 1 deletion mixing/mixpool/mixpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ func (p *Pool) AcceptMessage(msg mixing.Message) (accepted []mixing.Message, err
func (p *Pool) removePR(pr *wire.MsgMixPairReq, reason string) {
prHash := pr.Hash()

logf("Removing %s PR %s by %x", reason, prHash, pr.Identity[:])
log.Debugf("Removing %s PR %s by %x", reason, prHash, pr.Identity[:])

delete(p.prs, prHash)
for _, hash := range p.messagesByIdentity[pr.Identity] {
Expand Down

0 comments on commit cfa0c3d

Please sign in to comment.