From fc16cecb70f2aa7cc4ae12caa363fc9ae4864136 Mon Sep 17 00:00:00 2001 From: Chenna Keshava Date: Tue, 13 Jun 2023 14:47:32 -0700 Subject: [PATCH] Fix comment to reflect the true return type of LedgerHistory::fixIndex function --- 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);