Skip to content

Commit 7f02039

Browse files
committed
Add docstrings missing from v1 public functions
1 parent fbd3910 commit 7f02039

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

payjoin/src/receive/v1/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,10 +763,12 @@ pub struct PayjoinProposal {
763763
}
764764

765765
impl PayjoinProposal {
766+
/// The UTXOs that would be spent by this Payjoin transaction
766767
pub fn utxos_to_be_locked(&self) -> impl '_ + Iterator<Item = &bitcoin::OutPoint> {
767768
self.payjoin_psbt.unsigned_tx.input.iter().map(|input| &input.previous_output)
768769
}
769770

771+
/// The Payjoin Proposal PSBT
770772
pub fn psbt(&self) -> &Psbt { &self.payjoin_psbt }
771773
}
772774

0 commit comments

Comments
 (0)