fix naming in other places, too
MODIFY
WalletWasabi/Helpers/Constants.cs
WalletWasabi/Helpers/Constants.cs
@@ -76,7 +76,7 @@ namespace WalletWasabi.Helpers
}
}
- public const int TwoHoursConfirmationTarget = 2;
+ public const int TwentyMinutesConfirmationTarget = 2;
public const int OneDayConfirmationTarget = 144;
public const int SevenDaysConfirmationTarget = 1008;

MODIFY
WalletWasabi/Models/TransactionBuilding/FeeStrategy.cs
WalletWasabi/Models/TransactionBuilding/FeeStrategy.cs
@@ -37,7 +37,7 @@ namespace WalletWasabi.Models.TransactionBuilding
}
}
- public static FeeStrategy TwentyMinutesConfirmationTargetStrategy { get; } = CreateFromConfirmationTarget(Constants.TwoHoursConfirmationTarget);
+ public static FeeStrategy TwentyMinutesConfirmationTargetStrategy { get; } = CreateFromConfirmationTarget(Constants.TwentyMinutesConfirmationTarget);
public static FeeStrategy OneDayConfirmationTargetStrategy { get; } = CreateFromConfirmationTarget(Constants.OneDayConfirmationTarget);
public static FeeStrategy SevenDaysConfirmationTargetStrategy { get; } = CreateFromConfirmationTarget(Constants.SevenDaysConfirmationTarget);
@@ -68,7 +68,7 @@ namespace WalletWasabi.Models.TransactionBuilding
throw new ArgumentException($"{nameof(feeRate)} must be null.");
}
Guard.NotNull(nameof(confirmationTarget), confirmationTarget);
- _target = Guard.InRangeAndNotNull(nameof(confirmationTarget), confirmationTarget.Value, Constants.TwoHoursConfirmationTarget, Constants.SevenDaysConfirmationTarget);
+ _target = Guard.InRangeAndNotNull(nameof(confirmationTarget), confirmationTarget.Value, Constants.TwentyMinutesConfirmationTarget, Constants.SevenDaysConfirmationTarget);
}
else
{

fix naming in other places, too