Skip to content

Commit 8bc7087

Browse files
committed
f rebase-triggered changes
1 parent 3dde575 commit 8bc7087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3642,7 +3642,7 @@ impl<Signer: Sign> Channel<Signer> {
36423642
},
36433643
};
36443644

3645-
for outp in closing_tx.output.iter() {
3645+
for outp in closing_tx.trust().built_transaction().output.iter() {
36463646
if !outp.script_pubkey.is_witness_program() && outp.value < MAX_STD_OUTPUT_DUST_LIMIT_SATOSHIS {
36473647
return Err(ChannelError::Close("Remote sent us a closing_signed with a dust output. Always use segwit closing scripts!".to_owned()));
36483648
}

0 commit comments

Comments
 (0)