From 8a25017b81c2214d639323466cd7901c4a2a57b4 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 9 Jul 2013 11:34:03 -0700 Subject: [PATCH] Don't publish to clients transactions that didn't apply. --- src/cpp/ripple/LedgerMaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/LedgerMaster.cpp b/src/cpp/ripple/LedgerMaster.cpp index a26dfb4589..440772f999 100644 --- a/src/cpp/ripple/LedgerMaster.cpp +++ b/src/cpp/ripple/LedgerMaster.cpp @@ -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; }