diff --git a/x/staking/keeper/delegation.go b/x/staking/keeper/delegation.go index fcb3faa6438f..4e0ed9268c18 100644 --- a/x/staking/keeper/delegation.go +++ b/x/staking/keeper/delegation.go @@ -858,9 +858,9 @@ func (k Keeper) getBeginInfo( return completionTime, height, false, nil } headerInfo := k.HeaderService.HeaderInfo(ctx) - unbondingTime, err := k.UnbondingTime(ctx) - if err != nil { - return completionTime, height, false, err + unbondingTime, err2 := k.UnbondingTime(ctx) + if err2 != nil { + return completionTime, height, false, errors.Join(err, err2) } // TODO: When would the validator not be found?