Skip to content

Commit eac5e77

Browse files
committed
Reduce PsbtContext method visibility
1 parent 91b5316 commit eac5e77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • payjoin/src/core/receive

payjoin/src/core/receive/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ pub struct PsbtContext {
247247

248248
impl PsbtContext {
249249
/// Prepare the PSBT by creating a new PSBT and copying only the fields allowed by the [spec](https://github.com/bitcoin/bips/blob/master/bip-0078.mediawiki#senders-payjoin-proposal-checklist)
250-
pub(crate) fn prepare_psbt(self, processed_psbt: Psbt) -> Psbt {
250+
fn prepare_psbt(self, processed_psbt: Psbt) -> Psbt {
251251
log::trace!("Original PSBT from callback: {processed_psbt:#?}");
252252

253253
// Create a new PSBT and copy only the allowed fields
@@ -311,7 +311,7 @@ impl PsbtContext {
311311
/// Finalization consists of two steps:
312312
/// 1. Remove all sender signatures which were received with the original PSBT as these signatures are now invalid.
313313
/// 2. Sign and finalize the resulting PSBT using the passed `wallet_process_psbt` signing function.
314-
pub(crate) fn finalize_proposal(
314+
fn finalize_proposal(
315315
self,
316316
wallet_process_psbt: impl Fn(&Psbt) -> Result<Psbt, ImplementationError>,
317317
) -> Result<Psbt, FinalizeProposalError> {

0 commit comments

Comments
 (0)