Skip to content

Commit

Permalink
Make function private
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed Jan 31, 2024
1 parent 5a4e59f commit cc84f1f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/v2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -951,9 +951,7 @@ 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> {
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 cc84f1f

Please sign in to comment.