Skip to content

Commit

Permalink
make chain_tip_difficultu pub to reuse in zaino
Browse files Browse the repository at this point in the history
  • Loading branch information
AloeareV authored Feb 18, 2025
1 parent 5953f8a commit 7a6f291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-rpc/src/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ mod opthex {
}
}
/// Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
pub(crate) async fn chain_tip_difficulty<State>(network: Network, mut state: State) -> Result<f64>
pub async fn chain_tip_difficulty<State>(network: Network, mut state: State) -> Result<f64>
where
State: Service<
zebra_state::ReadRequest,
Expand Down

0 comments on commit 7a6f291

Please sign in to comment.