diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs index a8f6c63..7bf679d 100644 --- a/protocol/src/lib.rs +++ b/protocol/src/lib.rs @@ -350,7 +350,7 @@ impl FullSpaceOut { pub fn refund_signing_info( &self, - ) -> Option<(Transaction, Prevouts, schnorr::Signature)> { + ) -> Option<(Transaction, Prevouts<'_, TxOut>, schnorr::Signature)> { if self.spaceout.space.is_none() { return None; } diff --git a/protocol/src/slabel.rs b/protocol/src/slabel.rs index 4349309..28265d2 100644 --- a/protocol/src/slabel.rs +++ b/protocol/src/slabel.rs @@ -248,7 +248,7 @@ impl Display for SLabelRef<'_> { } impl SLabel { - pub fn as_name_ref(&self) -> SLabelRef { + pub fn as_name_ref(&self) -> SLabelRef<'_> { SLabelRef(&self.0) }