docs: fix comment for LedgerHistory::fixIndex return value (#4574)

`LedgerHistory::fixIndex` returns `false` if a repair was performed.

Fix #4572
This commit is contained in:
Chenna Keshava B S
2026-02-19 16:32:46 +09:00
committed by tequ
parent 1b6a2a39ff
commit 4812f6abb4

View File

@@ -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);