From c60eb416d2fac45f0b39cc563da557328bfa4911 Mon Sep 17 00:00:00 2001 From: Chenna Keshava B S <21219765+ckeshava@users.noreply.github.com> Date: Mon, 18 Sep 2023 10:01:43 -0700 Subject: [PATCH] docs: fix comment for LedgerHistory::fixIndex return value (#4574) `LedgerHistory::fixIndex` returns `false` if a repair was performed. Fix #4572 --- src/ripple/app/ledger/LedgerHistory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/app/ledger/LedgerHistory.h b/src/ripple/app/ledger/LedgerHistory.h index a50d7eabe..1a0694acd 100644 --- a/src/ripple/app/ledger/LedgerHistory.h +++ b/src/ripple/app/ledger/LedgerHistory.h @@ -93,7 +93,7 @@ public: /** Repair a hash to index mapping @param ledgerIndex The index whose mapping is to be repaired @param ledgerHash The hash it is to be mapped to - @return `true` if the mapping was repaired + @return `false` if the mapping was repaired */ bool fixIndex(LedgerIndex ledgerIndex, LedgerHash const& ledgerHash);