Skip to content

Commit

Permalink
(BIDS-2852) exporter: only log warning if balance of new vali is not …
Browse files Browse the repository at this point in the history
…present yet in bt
  • Loading branch information
guybrush committed Dec 20, 2023
1 parent ec81ba9 commit 7ef059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ func SaveValidators(epoch uint64, validators []*types.Validator, client rpc.Clie

foundBalance := uint64(0)
if balance[newValidator.Validatorindex] == nil || len(balance[newValidator.Validatorindex]) == 0 {
logger.Errorf("no activation epoch balance found for validator %v for epoch %v in bigtable, trying node", newValidator.Validatorindex, newValidator.ActivationEpoch)
logger.Warnf("no activation epoch balance found for validator %v for epoch %v in bigtable, trying node", newValidator.Validatorindex, newValidator.ActivationEpoch)

if balanceCache[newValidator.ActivationEpoch] == nil {
balances, err := client.GetBalancesForEpoch(int64(newValidator.ActivationEpoch))
Expand Down

0 comments on commit 7ef059a

Please sign in to comment.