Skip to content

Commit e60abbf

Browse files
Remove unused PsbtContext::finalize_proposal
1 parent cc55f47 commit e60abbf

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

  • payjoin/src/core/receive

payjoin/src/core/receive/mod.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -466,19 +466,6 @@ impl PsbtContext {
466466
psbt
467467
}
468468

469-
/// Finalizes the Payjoin proposal into a PSBT which the sender will find acceptable before
470-
/// they sign the transaction and broadcast it to the network.
471-
///
472-
/// Finalization consists of signing and finalizing the PSBT using the passed `wallet_process_psbt` signing function.
473-
fn finalize_proposal(
474-
self,
475-
wallet_process_psbt: impl Fn(&Psbt) -> Result<Psbt, ImplementationError>,
476-
) -> Result<Psbt, ImplementationError> {
477-
let psbt = self.psbt_to_sign();
478-
let signed_psbt = wallet_process_psbt(&psbt)?;
479-
self.finalize_signed_proposal(signed_psbt)
480-
}
481-
482469
/// Finalizes the signed payjoin proposal PSBT which the sender will find acceptable before
483470
/// they sign the transaction and broadcast it to the network.
484471
///

0 commit comments

Comments
 (0)