ripple-unmaintained / ripple-lib-java

Java version of ripple-lib (work in progress)
ISC License
126 stars 109 forks source link

Submit failure response: terQUEUED #92

Open drsaluml opened 4 years ago

drsaluml commented 4 years ago

Payment payment = new Payment(); ManagedTxn tx = tm.manage(payment); payment.putTranslated(AccountID.Destination, toAddress);

tx.once(ManagedTxn.OnSubmitSuccess.class, new ManagedTxn.OnSubmitSuccess() { @Override public void called(Response response) {

    if (response.engineResult().equals(EngineResult.tesSUCCESS)) {

    } else {
        // Error
        log.error("Id : " + id + " error : " + error);
    }

}

});

--

tm.queue(tx);