diff --git a/src/ripple_app/tx/PaymentTransactor.cpp b/src/ripple_app/tx/PaymentTransactor.cpp index 80e45777f7..5ee266eb3a 100644 --- a/src/ripple_app/tx/PaymentTransactor.cpp +++ b/src/ripple_app/tx/PaymentTransactor.cpp @@ -204,6 +204,9 @@ TER PaymentTransactor::doApply () bNoRippleDirect, // Always compute for finalizing ledger. false, // Not standalone, delete unfundeds. isSetBit (mParams, tapOPEN_LEDGER)); + + if (terNO_LINE == terResult) + terResult = tecPATH_DRY; } catch (const std::exception& e) { diff --git a/test/send-test.js b/test/send-test.js index 1f6737fba0..0ba6d6d7ad 100644 --- a/test/send-test.js +++ b/test/send-test.js @@ -702,7 +702,7 @@ suite('Gateway', function() { .once('submitted', function (m) { // console.log("submitted: %s", JSON.stringify(m)); - callback(m.engine_result !== 'terNO_LINE'); + callback(m.engine_result !== 'tecPATH_DRY'); }) .submit(); },