diff --git a/x/symStaking/keeper/symbiotic_state_change.go b/x/symStaking/keeper/symbiotic_state_change.go index cddd2c6c7..99255b704 100644 --- a/x/symStaking/keeper/symbiotic_state_change.go +++ b/x/symStaking/keeper/symbiotic_state_change.go @@ -171,7 +171,7 @@ func (k *Keeper) SymbioticUpdateValidatorsPower(ctx context.Context) error { break } - if strings.Contains(err.Error(), "is not currently canonical") { + if strings.HasSuffix(err.Error(), "is not currently canonical") { k.Logger.Warn("not canonical block hash", "hash", cachedBlockHash.BlockHash) break }