Bug that crashed client machine.

This commit is contained in:
JoelKatz
2013-03-12 15:57:25 -07:00
parent 983175fa61
commit c85fc7ef64

View File

@@ -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
}