mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
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:
parent
881b5c8adb
commit
c1f89cc4c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user