mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix bitwise or on boolean operands warning / error
This commit is contained in:
@@ -728,7 +728,7 @@ CreateOffer::flowCross(
|
||||
// additional path with XRP as the intermediate between two books.
|
||||
// This second path we have to build ourselves.
|
||||
STPathSet paths;
|
||||
if (!takerAmount.in.native() & !takerAmount.out.native())
|
||||
if (!takerAmount.in.native() && !takerAmount.out.native())
|
||||
{
|
||||
STPath path;
|
||||
path.emplace_back(std::nullopt, xrpCurrency(), std::nullopt);
|
||||
|
||||
Reference in New Issue
Block a user