From e86181c096958d3b9fc643ba6f3c03389eac55c6 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 5733ca76375..092ad7d8371 100644 --- a/src/ripple/app/ledger/LedgerHistory.h +++ b/src/ripple/app/ledger/LedgerHistory.h @@ -95,7 +95,7 @@ class LedgerHistory /** 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);