From e67a980849fca1cec2408ceb7a91d60e6b7cb790 Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Sat, 6 Jun 2026 18:56:19 -0400 Subject: [PATCH] Improve comment --- src/xrpld/overlay/detail/PeerImp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xrpld/overlay/detail/PeerImp.cpp b/src/xrpld/overlay/detail/PeerImp.cpp index bcce5d5cda..29e262ce1c 100644 --- a/src/xrpld/overlay/detail/PeerImp.cpp +++ b/src/xrpld/overlay/detail/PeerImp.cpp @@ -1535,8 +1535,9 @@ PeerImp::onMessage(std::shared_ptr const& m) if (nodeIDs.size() >= Tuning::kSoftMaxReplyNodes) { // Charge the peer for sending too many node IDs, but continue processing the - // received node IDs. If the request is legitimate then at least they will get - // a response and won't have to resend the request. + // received node IDs up to the limit. If the request is legitimate then at least + // they will get a response and won't have to resend these nodes in their next + // request. peer->charge( Resource::kFeeModerateBurdenPeer, "TMGetLedger: too many node IDs"); break;