-
Notifications
You must be signed in to change notification settings - Fork 155
Add tests for taproot descriptors having deep scripts trees. #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,8 +104,10 @@ pub fn test_desc_satisfy(cl: &Client, testdata: &TestData, desc: &str) -> Witnes | |
let addr = cl | ||
.get_new_address(None, Some(json::AddressType::Bech32)) | ||
.unwrap(); | ||
// Had to decrease 'value', so that fees can be increased | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whiespace here. Will merge this now, but please take of this in future. Or address in a later PR. |
||
// (Was getting insufficient fees error, for deep script trees) | ||
psbt.unsigned_tx.output.push(TxOut { | ||
value: 99_999_000, | ||
value: 99_997_000, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting, thanks for debugging. Will open this up with a good first issue. |
||
script_pubkey: addr.script_pubkey(), | ||
}); | ||
let mut input = psbt::Input::default(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unneeded Whitespace here