From b311aaf5ea46e23a27819b9f5ebf1b6ebd4eaa1c Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Sat, 1 Jun 2024 16:15:12 +0000 Subject: [PATCH] make nonzero run error a rule error, suppress dcrd err log --- mixing/mixpool/mixpool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixing/mixpool/mixpool.go b/mixing/mixpool/mixpool.go index 6c00e58ab..d0c5c2db5 100644 --- a/mixing/mixpool/mixpool.go +++ b/mixing/mixpool/mixpool.go @@ -848,7 +848,7 @@ func (p *Pool) AcceptMessage(msg mixing.Message) (accepted []mixing.Message, err }() if msg.GetRun() != 0 { - return nil, fmt.Errorf("nonzero reruns are unsupported") + return nil, ruleError(fmt.Errorf("nonzero reruns are unsupported")) } hash := msg.Hash()