Skip to content

Commit

Permalink
docs: fix comment for LedgerHistory::fixIndex return value (#4574)
Browse files Browse the repository at this point in the history
`LedgerHistory::fixIndex` returns `false` if a repair was performed.

Fix #4572
  • Loading branch information
ckeshava authored Sep 18, 2023
1 parent 65df4bc commit e86181c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/app/ledger/LedgerHistory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e86181c

Please sign in to comment.