From a61cdf0214d55bf65e1d0fbf43354e4b31bd4105 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 6 May 2026 14:38:22 +0100 Subject: [PATCH] fix: remove duplicate DisputedTx getYays/getNays accessors These were already added in an earlier phase branch. The duplicate with slightly different Doxygen wording was introduced by the erroneous merge/revert cycle. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/xrpld/consensus/DisputedTx.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/xrpld/consensus/DisputedTx.h b/src/xrpld/consensus/DisputedTx.h index 9c30b6180d..fcd2b0ebac 100644 --- a/src/xrpld/consensus/DisputedTx.h +++ b/src/xrpld/consensus/DisputedTx.h @@ -60,20 +60,6 @@ public: return ourVote_; } - //! Number of peers voting to include the transaction. - [[nodiscard]] int - getYays() const - { - return yays_; - } - - //! Number of peers voting to exclude the transaction. - [[nodiscard]] int - getNays() const - { - return nays_; - } - //! Are we and our peers "stalled" where we probably won't change //! our vote? [[nodiscard]] bool