File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- 1.88 .0
1+ 1.89 .0
Original file line number Diff line number Diff line change @@ -1054,7 +1054,7 @@ impl<Ctx: ScriptContext + 'static> ExtractPolicy for Miniscript<DescriptorPublic
10541054 }
10551055}
10561056
1057- fn psbt_inputs_sat ( psbt : & Psbt ) -> impl Iterator < Item = PsbtInputSatisfier > {
1057+ fn psbt_inputs_sat ( psbt : & Psbt ) -> impl Iterator < Item = PsbtInputSatisfier < ' _ > > {
10581058 ( 0 ..psbt. inputs . len ( ) ) . map ( move |i| PsbtInputSatisfier :: new ( psbt, i) )
10591059}
10601060
Original file line number Diff line number Diff line change @@ -1165,7 +1165,7 @@ impl Wallet {
11651165 /// ```
11661166 ///
11671167 /// [`Anchor`]: bdk_chain::Anchor
1168- pub fn get_tx ( & self , txid : Txid ) -> Option < WalletTx > {
1168+ pub fn get_tx ( & self , txid : Txid ) -> Option < WalletTx < ' _ > > {
11691169 let graph = self . indexed_graph . graph ( ) ;
11701170 graph
11711171 . list_canonical_txs (
@@ -1187,7 +1187,7 @@ impl Wallet {
11871187 ///
11881188 /// To iterate over all canonical transactions, including those that are irrelevant, use
11891189 /// [`TxGraph::list_canonical_txs`].
1190- pub fn transactions ( & self ) -> impl Iterator < Item = WalletTx > + ' _ {
1190+ pub fn transactions < ' a > ( & ' a self ) -> impl Iterator < Item = WalletTx < ' a > > + ' a {
11911191 let tx_graph = self . indexed_graph . graph ( ) ;
11921192 let tx_index = & self . indexed_graph . index ;
11931193 tx_graph
@@ -1215,7 +1215,7 @@ impl Wallet {
12151215 /// wallet.transactions_sort_by(|tx1, tx2| tx2.chain_position.cmp(&tx1.chain_position));
12161216 /// # Ok::<(), anyhow::Error>(())
12171217 /// ```
1218- pub fn transactions_sort_by < F > ( & self , compare : F ) -> Vec < WalletTx >
1218+ pub fn transactions_sort_by < F > ( & self , compare : F ) -> Vec < WalletTx < ' _ > >
12191219 where
12201220 F : FnMut ( & WalletTx , & WalletTx ) -> Ordering ,
12211221 {
You can’t perform that action at this time.
0 commit comments