mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-05 08:47:53 +00:00
terNO_LINE should never be the final result of a payment transaction that can claim a fee.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user