Skip to content

Commit 3bc45b5

Browse files
committed
Merge #1724: Type constraint on list canonical tx
2db98ba fix(chain): type constraint on list canonical tx (Rob N) Pull request description: Closes #1690 #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [ ] I've added tests for the new feature * [ ] I've added docs for the new feature #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [ ] I'm linking the issue being fixed by this PR ACKs for top commit: ValuedMammal: ACK 2db98ba Tree-SHA512: 29a6b193dd1e9030541e389a6f4f3154edddf9cb2401c451468d6b0af8b2e00d807770cc8ec587f79f6cb1dabd87598dec9a1b3e63d0bda40ce75948805a3458
2 parents b8c736c + 2db98ba commit 3bc45b5

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)