Skip to content

Commit

Permalink
fix(chain): type constraint on list canonical tx
Browse files Browse the repository at this point in the history
  • Loading branch information
rustaceanrob committed Nov 16, 2024
1 parent b8c736c commit 2db98ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/chain/src/tx_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ impl<A: Anchor> TxGraph<A> {
/// This is the infallible version of [`try_list_canonical_txs`].
///
/// [`try_list_canonical_txs`]: Self::try_list_canonical_txs
pub fn list_canonical_txs<'a, C: ChainOracle + 'a>(
pub fn list_canonical_txs<'a, C: ChainOracle<Error = Infallible> + 'a>(
&'a self,
chain: &'a C,
chain_tip: BlockId,
Expand Down

0 comments on commit 2db98ba

Please sign in to comment.