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.
nodestore