Skip to content

Commit 4c6e426

Browse files
committed
Revert "Silence dead code warnings on InternalRequestError"
This reverts commit 1eacd8a.
1 parent d55656e commit 4c6e426

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

payjoin/src/receive/error.rs

-2
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,10 @@ pub(crate) enum InternalRequestError {
7070
MissingPayment,
7171
/// The original PSBT transaction fails the broadcast check
7272
OriginalPsbtNotBroadcastable,
73-
#[allow(dead_code)]
7473
/// The sender is trying to spend the receiver input
7574
InputOwned(bitcoin::ScriptBuf),
7675
/// The expected input weight cannot be determined
7776
InputWeight(crate::psbt::InputWeightError),
78-
#[allow(dead_code)]
7977
/// Original PSBT input has been seen before. Only automatic receivers, aka "interactive" in the spec
8078
/// look out for these to prevent probing attacks.
8179
InputSeen(bitcoin::OutPoint),

0 commit comments

Comments
 (0)