Skip to content

Commit 2db98ba

Browse files
committed
fix(chain): type constraint on list canonical tx
1 parent b8c736c commit 2db98ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/chain/src/tx_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ impl<A: Anchor> TxGraph<A> {
980980
/// This is the infallible version of [`try_list_canonical_txs`].
981981
///
982982
/// [`try_list_canonical_txs`]: Self::try_list_canonical_txs
983-
pub fn list_canonical_txs<'a, C: ChainOracle + 'a>(
983+
pub fn list_canonical_txs<'a, C: ChainOracle<Error = Infallible> + 'a>(
984984
&'a self,
985985
chain: &'a C,
986986
chain_tip: BlockId,

0 commit comments

Comments
 (0)