We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bc679c commit 78fbcaeCopy full SHA for 78fbcae
1 file changed
core/minter/minter.go
@@ -220,7 +220,7 @@ func (app *Blockchain) BeginBlock(req abciTypes.RequestBeginBlock) abciTypes.Res
220
221
// skip already offline candidates to prevent double punishing
222
candidate := app.stateDeliver.Candidates.GetCandidateByTendermintAddress(address)
223
- if candidate == nil || candidate.Status == candidates.CandidateStatusOffline {
+ if candidate == nil || candidate.Status == candidates.CandidateStatusOffline || app.stateDeliver.Validators.GetByTmAddress(address) == nil {
224
continue
225
}
226
0 commit comments