diff --git a/renter/renter.go b/renter/renter.go index 13f187b..0824861 100644 --- a/renter/renter.go +++ b/renter/renter.go @@ -278,3 +278,14 @@ func (r *RenterDefault) GougingSettings(ctx context.Context) (api.GougingSetting return settings, nil } + +func (r *RenterDefault) RedundancySettings(ctx context.Context) (api.RedundancySettings, error) { + var settings api.RedundancySettings + err := r.GetSetting(ctx, api.SettingRedundancy, &settings) + + if err != nil { + return api.RedundancySettings{}, err + } + + return settings, nil +}