Skip to content

Commit

Permalink
fix(docs): merge_chains documentation
Browse files Browse the repository at this point in the history
- it's a small fix for `merge_chains` docs, reported on audit.
  • Loading branch information
oleonardolima committed Jan 21, 2025
1 parent b7d64c2 commit 7b166bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/chain/src/local_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,10 @@ impl std::error::Error for ApplyHeaderError {}

/// Applies `update_tip` onto `original_tip`.
///
/// On success, a tuple is returned `(changeset, can_replace)`. If `can_replace` is true, then the
/// `update_tip` can replace the `original_tip`.
/// On success, a tuple is returned `([`CheckPoint`], [`ChangeSet`])`.
///
/// [`CheckPoint`]: bdk_core::CheckPoint
/// [`ChangeSet`]: bdk_chain::local_chain::CheckPoint
fn merge_chains(
original_tip: CheckPoint,
update_tip: CheckPoint,
Expand Down

0 comments on commit 7b166bf

Please sign in to comment.