Skip to content

Commit

Permalink
don't log all the cancelled context errs (they are expected as we sen…
Browse files Browse the repository at this point in the history
…d in the bg)
  • Loading branch information
jrick committed Jun 7, 2024
1 parent 80da6a0 commit 4855e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixing/mixclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ func (c *Client) roots(ctx context.Context, seenSRs []chainhash.Hash,
err := c.sendLocalPeerMsgs(ctx, sesRun, func(p *peer) mixing.Message {
return p.fp
})
if err != nil {
if ctx.Err() == nil && err != nil {
c.logf("%v", err)
}
publishedRoots <- struct{}{}
Expand Down

0 comments on commit 4855e68

Please sign in to comment.