Skip to content

Commit 6b78b5a

Browse files
committed
Fix lint warnings about error size
Just allow the lint to pass ignoring the large error return size.
1 parent 4ad053b commit 6b78b5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/psbt/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ pub trait PsbtExt {
455455
///
456456
/// - Returns a mutated psbt with all inputs `finalize_mut` could finalize
457457
/// - A vector of input errors, one of each of failed finalized input
458+
#[allow(clippy::result_large_err)]
458459
fn finalize<C: secp256k1::Verification>(
459460
self,
460461
secp: &secp256k1::Secp256k1<C>,
@@ -467,6 +468,7 @@ pub trait PsbtExt {
467468
) -> Result<(), Vec<Error>>;
468469

469470
/// Same as [PsbtExt::finalize], but allows for malleable satisfactions
471+
#[allow(clippy::result_large_err)]
470472
fn finalize_mall<C: secp256k1::Verification>(
471473
self,
472474
secp: &Secp256k1<C>,

0 commit comments

Comments
 (0)