java-stellar-sdk
java-stellar-sdk copied to clipboard
SDK has been waiting for the problem when calling the account method
// First, check to make sure that the destination account exists. // You could skip this, but if the account does not exist, you will be charged // the transaction fee when the transaction fails. // It will throw HttpResponseException if account does not exist or there was another error. server.accounts().account(destination.getAccountId());
When the receiving account does not exist, the SDK program will always be stuck here, and the program cannot continue