mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-28 07:48:01 +00:00
isNonPositiveXRPAmount(amount) = !isXRP(amount) || amount <= 0, which reads misleadingly (returns true for non-XRP amounts entirely, not just non-positive XRP ones). Restore isPositiveXRPAmount/ isPositiveAmount and the negation at call sites.