Skip to content

Commit 7ef059a

Browse files
committed
(BIDS-2852) exporter: only log warning if balance of new vali is not present yet in bt
1 parent ec81ba9 commit 7ef059a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ func SaveValidators(epoch uint64, validators []*types.Validator, client rpc.Clie
11451145

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

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

0 commit comments

Comments
 (0)