Replace update_chain_state_with ref with update_chain_tip_with in rustdoc (#6781)
* Replace update_chain_state_with ref with update_chain_tip_with in rustdoc Noted in the audit * Update zebra-state/src/request.rs Co-authored-by: teor <teor@riseup.net> * Add fully qualified rustdoc link * Use correct Chain path * Use a method that's actually on the struct (not in a private trait impl) --------- Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
parent
2cd9455ded
commit
af4d53122f
|
@ -318,7 +318,7 @@ impl ContextuallyValidBlock {
|
|||
/// including UTXOs created by earlier transactions in this block.
|
||||
///
|
||||
/// Note: a [`ContextuallyValidBlock`] isn't actually contextually valid until
|
||||
/// `Chain::update_chain_state_with` returns success.
|
||||
/// [`Chain::push()`](crate::service::non_finalized_state::Chain::push) returns success.
|
||||
pub fn with_block_and_spent_utxos(
|
||||
prepared: PreparedBlock,
|
||||
mut spent_outputs: HashMap<transparent::OutPoint, transparent::OrderedUtxo>,
|
||||
|
|
Loading…
Reference in New Issue