mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Bug that crashed client machine.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user