mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 01:15:53 +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);
|
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