Skip to content

Commit

Permalink
Implement Script for Witness and Add Tweak in Partially Signed Bitcoi…
Browse files Browse the repository at this point in the history
…n Transaction to make it a single data source needed for a Signer to produce valid signatures.
  • Loading branch information
yellowred committed Nov 29, 2023
1 parent d6a8d2c commit 5cdbf5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/sign/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ impl SpendableOutputDescriptor {
key: "add_tweak".as_bytes().to_vec(),
},
add_tweak,
)].into_iter().collect()}).or(Some(Default::default())).expect("proprietary fields"),
)].into_iter().collect()}).unwrap_or_default(),
unknown: Default::default(),
};
Ok((psbt, expected_max_weight))
Expand Down

0 comments on commit 5cdbf5e

Please sign in to comment.