fixing log parsing of public validator key (#11142)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
james-prysm 2022-08-01 12:08:09 -05:00 committed by GitHub
parent 881b5c8adb
commit c1f89cc4c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1112,7 +1112,7 @@ func (v *validator) validatorIndex(ctx context.Context, pubkey [fieldparams.BLSP
switch {
case status.Code(err) == codes.NotFound:
log.Warnf("Could not find validator index for public key %#x not found. "+
"Perhaps the validator is not yet active.", hexutil.Encode(pubkey[:]))
"Perhaps the validator is not yet active.", pubkey)
return 0, false, nil
case err != nil:
return 0, false, err