We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6ba242 + 8b9b8be commit 2379d37Copy full SHA for 2379d37
code/go/0chain.net/blobbercore/challenge/protocol.go
@@ -286,6 +286,19 @@ func (cr *ChallengeEntity) LoadValidationTickets(ctx context.Context) error {
286
return
287
}
288
289
+ if validationTicket.ValidatorID != validatorID {
290
+ numFailed++
291
+ logging.Logger.Error(
292
+ "[challenge]resp: ",
293
+ zap.String("validator",
294
+ validatorID),
295
+ zap.Any("resp", string(resp)),
296
+ zap.Any("error", "Validator ID mismatch"),
297
+ )
298
+ updateMapAndSlice(validatorID, i, nil)
299
+ return
300
+ }
301
+
302
logging.Logger.Info(
303
"[challenge]resp: Got response from the validator.",
304
zap.Any("validator_response", validationTicket),
0 commit comments