mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't publish to clients transactions that didn't apply.
This commit is contained in:
@@ -192,7 +192,7 @@ TER LedgerMaster::doTransaction (SerializedTransaction::ref txn, TransactionEngi
|
|||||||
result = mEngine.applyTransaction (*txn, params, didApply);
|
result = mEngine.applyTransaction (*txn, params, didApply);
|
||||||
ledger = mEngine.getLedger ();
|
ledger = mEngine.getLedger ();
|
||||||
}
|
}
|
||||||
// if (didApply)
|
if (didApply)
|
||||||
getApp().getOPs ().pubProposedTransaction (ledger, txn, result);
|
getApp().getOPs ().pubProposedTransaction (ledger, txn, result);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user