From e2e537b3bb6e70d57c00e95462bc922a59017648 Mon Sep 17 00:00:00 2001 From: Bart Date: Fri, 10 Apr 2026 10:38:46 -0400 Subject: [PATCH] fix: Change `Tuning::bookOffers` minimum limit to 1 (#6812) Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> --- src/xrpld/rpc/detail/Tuning.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrpld/rpc/detail/Tuning.h b/src/xrpld/rpc/detail/Tuning.h index e9dd2c37d7..b3b7468731 100644 --- a/src/xrpld/rpc/detail/Tuning.h +++ b/src/xrpld/rpc/detail/Tuning.h @@ -29,7 +29,7 @@ static LimitRange constexpr accountOffers = {10, 200, 400}; static LimitRange constexpr accountTx = {10, 200, 400}; /** Limits for the book_offers command. */ -static LimitRange constexpr bookOffers = {0, 60, 100}; +static LimitRange constexpr bookOffers = {1, 60, 100}; /** Limits for the no_ripple_check command. */ static LimitRange constexpr noRippleCheck = {10, 300, 400};