diff --git a/Logic/Financial/FinancialAccount.cs b/Logic/Financial/FinancialAccount.cs index 1929f8b3..55bf2fa0 100644 --- a/Logic/Financial/FinancialAccount.cs +++ b/Logic/Financial/FinancialAccount.cs @@ -194,7 +194,7 @@ namespace Swarmops.Logic.Financial ExternalBankDataProfile oldProfile = ExternalBankDataProfileOldHack; ExternalBankDataProfile newProfile = AutomationProfile.BankDataProfile; - if (oldProfile != null && newProfile != oldProfile) + if (oldProfile != null && newProfile.Identity != oldProfile.Identity) { throw new InvalidOperationException("Defensive programming for crucial part"); }