Skip to content

Commit 84e42ee

Browse files
committed
fix: lifetime issue
1 parent 780f1b5 commit 84e42ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interpreter/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl<'txin> Interpreter<'txin> {
237237
sig: &KeySigPair,
238238
) -> bool {
239239
fn get_prevout<'u>(
240-
prevouts: &sighash::Prevouts<'u, bitcoin::TxOut>,
240+
prevouts: &'u sighash::Prevouts<'u, bitcoin::TxOut>,
241241
input_index: usize,
242242
) -> Option<&'u bitcoin::TxOut> {
243243
match prevouts {

0 commit comments

Comments
 (0)