From 076add0e73d8a53ae73435e80cef8e0195f44d82 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 24 Feb 2013 14:13:20 -0800 Subject: [PATCH] Be more aggressive about relaying disputed transactions. --- src/cpp/ripple/LedgerConsensus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/LedgerConsensus.cpp b/src/cpp/ripple/LedgerConsensus.cpp index 66203e3b4b..784ee068f7 100644 --- a/src/cpp/ripple/LedgerConsensus.cpp +++ b/src/cpp/ripple/LedgerConsensus.cpp @@ -966,8 +966,8 @@ void LedgerConsensus::addDisputedTransaction(const uint256& txID, const std::vec txn->setVote(pit.first, cit->second->hasItem(txID)); } - if (!ourVote && theApp->isNewFlag(txID, SF_RELAYED)) - { // We voted no and a trusted peer voted yes, so relay + if (theApp->isNewFlag(txID, SF_RELAYED)) + { ripple::TMTransaction msg; msg.set_rawtransaction(&(tx.front()), tx.size()); msg.set_status(ripple::tsNEW);