Skip to content

Commit cff03df

Browse files
committed
f! simplify if clause
1 parent b56dde5 commit cff03df

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning/src/chain/onchaintx.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,9 +711,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
711711
// outpoints to know if transaction is the original claim or a bumped one issued
712712
// by us.
713713
let mut set_equality = true;
714-
if !request.requires_external_funding() ||
715-
(request.requires_external_funding() && !request.is_malleable())
716-
{
714+
if !request.requires_external_funding() || !request.is_malleable() {
717715
// If the claim does not require external funds to be allocated through
718716
// additional inputs we can simply check the inputs in order as they
719717
// cannot change under us.

0 commit comments

Comments
 (0)