etreschenkov 2026-05-19 19:26:05 +03:00
parent c509389946
commit a2439c50df

View file

@ -80,7 +80,7 @@ public enum GatewayClientCodeValidationRule implements IValidationRule<ImdgValid
if (account == null) {
return of(AccountError.ACCOUNT_NOT_FOUND_GTW, moneyAccountMsg.getAccount(), "money_account");
}
accountByCurrency.put(account.getCurrency(), account);
accountByCurrency.put(moneyAccountMsg.getCurrCode(), account);
}
context.storeObject(ClientCodeStoreObjects.MAPPED_TO_CURRENCY_ACCOUNTS, accountByCurrency);
return Optional.empty();