From c85fc7ef64940587615e58252bf753c7f382149b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 12 Mar 2013 15:57:25 -0700 Subject: [PATCH] Bug that crashed client machine. --- src/cpp/ripple/Ledger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/Ledger.cpp b/src/cpp/ripple/Ledger.cpp index e3d407f8c..73fc51eb9 100644 --- a/src/cpp/ripple/Ledger.cpp +++ b/src/cpp/ripple/Ledger.cpp @@ -1339,7 +1339,7 @@ bool Ledger::isValidBook(const uint160& uTakerPaysCurrency, const uint160& uTake } else // non-XRP to non-XRP { - if ((uTakerPaysCurrency == uTakerGetsCurrency) && (uTakerGetsIssuerID == uTakerGetsIssuerID)) + if ((uTakerPaysCurrency == uTakerGetsCurrency) && (uTakerGetsIssuerID == uTakerPaysIssuerID)) return false; // Input and output cannot be identical }