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
2023-09-18 10:01:43 -07:00
committed by GitHub
parent 65df4bceaa
commit e86181c096

View File

@@ -95,7 +95,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);