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