We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dde575 commit 8bc7087Copy full SHA for 8bc7087
lightning/src/ln/channel.rs
@@ -3642,7 +3642,7 @@ impl<Signer: Sign> Channel<Signer> {
3642
},
3643
};
3644
3645
- for outp in closing_tx.output.iter() {
+ for outp in closing_tx.trust().built_transaction().output.iter() {
3646
if !outp.script_pubkey.is_witness_program() && outp.value < MAX_STD_OUTPUT_DUST_LIMIT_SATOSHIS {
3647
return Err(ChannelError::Close("Remote sent us a closing_signed with a dust output. Always use segwit closing scripts!".to_owned()));
3648
}
0 commit comments