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
1054
1054
}
1055
1055
}
1056
1056
1057
- fn psbt_inputs_sat ( psbt : & Psbt ) -> impl Iterator < Item = PsbtInputSatisfier > {
1057
+ fn psbt_inputs_sat ( psbt : & Psbt ) -> impl Iterator < Item = PsbtInputSatisfier < ' _ > > {
1058
1058
( 0 ..psbt. inputs . len ( ) ) . map ( move |i| PsbtInputSatisfier :: new ( psbt, i) )
1059
1059
}
1060
1060
Original file line number Diff line number Diff line change @@ -1165,7 +1165,7 @@ impl Wallet {
1165
1165
/// ```
1166
1166
///
1167
1167
/// [`Anchor`]: bdk_chain::Anchor
1168
- pub fn get_tx ( & self , txid : Txid ) -> Option < WalletTx > {
1168
+ pub fn get_tx ( & self , txid : Txid ) -> Option < WalletTx < ' _ > > {
1169
1169
let graph = self . indexed_graph . graph ( ) ;
1170
1170
graph
1171
1171
. list_canonical_txs (
@@ -1187,7 +1187,7 @@ impl Wallet {
1187
1187
///
1188
1188
/// To iterate over all canonical transactions, including those that are irrelevant, use
1189
1189
/// [`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 {
1191
1191
let tx_graph = self . indexed_graph . graph ( ) ;
1192
1192
let tx_index = & self . indexed_graph . index ;
1193
1193
tx_graph
@@ -1215,7 +1215,7 @@ impl Wallet {
1215
1215
/// wallet.transactions_sort_by(|tx1, tx2| tx2.chain_position.cmp(&tx1.chain_position));
1216
1216
/// # Ok::<(), anyhow::Error>(())
1217
1217
/// ```
1218
- pub fn transactions_sort_by < F > ( & self , compare : F ) -> Vec < WalletTx >
1218
+ pub fn transactions_sort_by < F > ( & self , compare : F ) -> Vec < WalletTx < ' _ > >
1219
1219
where
1220
1220
F : FnMut ( & WalletTx , & WalletTx ) -> Ordering ,
1221
1221
{
You can’t perform that action at this time.
0 commit comments