Skip to content

Commit 2f77780

Browse files
committed
Suppress Taproot warnings.
1 parent ff1b9e1 commit 2f77780

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/sign/type_resolver.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ where
88
// in practice, this will only ever be an EcdsaChannelSigner (specifically, Writeable)
99
Ecdsa(<SP::Target as SignerProvider>::EcdsaSigner),
1010
#[cfg(taproot)]
11+
#[allow(unused)]
1112
Taproot(<SP::Target as SignerProvider>::TaprootSigner),
1213
}
1314

@@ -19,6 +20,7 @@ where
1920
match self {
2021
ChannelSignerType::Ecdsa(ecs) => ecs,
2122
#[cfg(taproot)]
23+
#[allow(unused)]
2224
ChannelSignerType::Taproot(tcs) => tcs,
2325
}
2426
}
@@ -27,6 +29,7 @@ where
2729
match self {
2830
ChannelSignerType::Ecdsa(ecs) => ecs,
2931
#[cfg(taproot)]
32+
#[allow(unused)]
3033
ChannelSignerType::Taproot(tcs) => tcs,
3134
}
3235
}

0 commit comments

Comments
 (0)