Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Jul 8, 2024
1 parent e2d9739 commit 81f65e6
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 @@ -1397,7 +1397,7 @@ func (p *Pool) checkAcceptKE(ke *wire.MsgMixKeyExchange) error {

keEpoch := time.Unix(int64(ke.Epoch), 0)
if keEpoch.Add(earlyKEDuration).Before(time.Now()) {
return ruleError(err)
return ruleError(ErrEarlyKE)
}

return nil
Expand Down

0 comments on commit 81f65e6

Please sign in to comment.