Skip to content

Commit

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

Fix XRPLF#4572
  • Loading branch information
ckeshava authored and sophiax851 committed Jun 12, 2024
1 parent ece07b9 commit 0f453ce
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 0f453ce

Please sign in to comment.