From a87325001948cd2bc5a16cc0d1387dc0047f4550 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Fri, 10 Apr 2026 06:12:52 -0400 Subject: [PATCH 1/2] chore: Make pre-commit line ending conversions work on Windows (#6832) (#6833) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59d42ccebc..3a5a85f0ab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,6 @@ repos: args: [--maxkb=400, --enforce-all] - id: trailing-whitespace - id: end-of-file-fixer - - id: mixed-line-ending - id: check-merge-conflict args: [--assume-in-merge] @@ -38,6 +37,7 @@ repos: rev: c2bc67fe8f8f549cc489e00ba8b45aa18ee713b1 # frozen: v3.8.1 hooks: - id: prettier + args: [--end-of-line=auto] - repo: https://github.com/psf/black-pre-commit-mirror rev: ea488cebbfd88a5f50b8bd95d5c829d0bb76feb8 # frozen: 26.1.0 From e2e537b3bb6e70d57c00e95462bc922a59017648 Mon Sep 17 00:00:00 2001 From: Bart Date: Fri, 10 Apr 2026 10:38:46 -0400 Subject: [PATCH 2/2] 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};