This commit is contained in:
parent
c509389946
commit
a2439c50df
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue