We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afdc3f2 commit fb81fe7Copy full SHA for fb81fe7
1 file changed
lightning/src/events/bump_transaction/mod.rs
@@ -1285,14 +1285,8 @@ mod tests {
1285
Ok(res)
1286
}
1287
fn sign_psbt(&self, psbt: Psbt) -> Result<Transaction, ()> {
1288
- let mut tx = psbt.unsigned_tx;
1289
- for input in tx.input.iter_mut() {
1290
- if input.previous_output.txid != Txid::from_byte_array([44; 32]) {
1291
- // Channel output, add a realistic size witness to make the assertions happy
1292
- input.witness = Witness::from_slice(&[vec![42; 162]]);
1293
- }
1294
1295
- Ok(tx)
+ // FIXME: Why does handle_channel_close override the witness?
+ Ok(psbt.unsigned_tx)
1296
1297
1298
0 commit comments