fix exceptions in validator code.
MODIFY
WalletWasabi.Gui/ViewModels/Validation/Validator.cs
WalletWasabi.Gui/ViewModels/Validation/Validator.cs
@@ -25,9 +25,14 @@ namespace WalletWasabi.Gui.ViewModels.Validation
{
var property = ReflectionHelper.GetPropertyInfo(instance, propertyName);
+ if (property != null)
+ {
return ValidateMethod(instance, property);
}
+ return string.Empty;
+ }
+
private static string ValidateMethod(object instance, PropertyInfo property)
{
var vma = ReflectionHelper.GetAttribute<ValidateMethodAttribute>(property);

fix exceptions in validator code.