Skip to content

Commit

Permalink
Revert "Silence dead code warnings on InternalRequestError"
Browse files Browse the repository at this point in the history
This reverts commit 1eacd8a.
  • Loading branch information
spacebear21 committed Nov 7, 2024
1 parent d55656e commit 4c6e426
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions payjoin/src/receive/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,10 @@ pub(crate) enum InternalRequestError {
MissingPayment,
/// The original PSBT transaction fails the broadcast check
OriginalPsbtNotBroadcastable,
#[allow(dead_code)]
/// The sender is trying to spend the receiver input
InputOwned(bitcoin::ScriptBuf),
/// The expected input weight cannot be determined
InputWeight(crate::psbt::InputWeightError),
#[allow(dead_code)]
/// Original PSBT input has been seen before. Only automatic receivers, aka "interactive" in the spec
/// look out for these to prevent probing attacks.
InputSeen(bitcoin::OutPoint),
Expand Down

0 comments on commit 4c6e426

Please sign in to comment.