in service/src/main/java/org/apache/fineract/cn/stellarbridge/service/internal/horizonadapter/HorizonServerUtilities.java [140:157]
private StellarAccountHelpers getAccount(final KeyPair installationAccountKeyPair)
throws InvalidConfigurationException
{
final AccountResponse installationAccount;
try {
installationAccount = server.accounts().account(installationAccountKeyPair);
}
catch (final IOException e) {
throw InvalidConfigurationException.unreachableStellarServerAddress(stellarBridgeProperties.getHorizonAddress());
}
if (installationAccount == null)
{
throw InvalidConfigurationException.invalidInstallationAccountSecretSeed();
}
return new StellarAccountHelpers(installationAccount);
}