Skip to content

Commit

Permalink
Make function private
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed Feb 1, 2024
1 parent 07960e8 commit 3e757ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,8 @@ impl Psbt {
/// Checks the sighash types of input partial sigs (ECDSA).
///
/// This can be used at anytime but is primarily used during PSBT finalizing.
// TODO: Would pub(crate) be better?
// TODO: It would be nice if this was enforced by the typesystem and fields if the `Input`.
pub fn check_partial_sigs_sighash_type(&self) -> Result<(), PartialSigsSighashTypeError> {
#[cfg(feature = "miniscript")]
pub(crate) fn check_partial_sigs_sighash_type(&self) -> Result<(), PartialSigsSighashTypeError> {
use PartialSigsSighashTypeError::*;

for (input_index, input) in self.inputs.iter().enumerate() {
Expand Down

0 comments on commit 3e757ed

Please sign in to comment.