Skip to content

Commit

Permalink
make nonzero run error a rule error, suppress dcrd err log
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Jun 1, 2024
1 parent b6e265f commit b311aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixing/mixpool/mixpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b311aaf

Please sign in to comment.