mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 950af7c876 into merged_master (Bitcoin PR bitcoin/bitcoin#28878)
This commit is contained in:
commit
d46449ab86
36 changed files with 74 additions and 86 deletions
|
|
@ -383,7 +383,7 @@ static bool SignTaproot(const SigningProvider& provider, const BaseSignatureCrea
|
|||
result_stack.emplace_back(std::begin(script), std::end(script)); // Push the script
|
||||
result_stack.push_back(*control_blocks.begin()); // Push the smallest control block
|
||||
if (smallest_result_stack.size() == 0 ||
|
||||
GetSerializeSize(result_stack, PROTOCOL_VERSION) < GetSerializeSize(smallest_result_stack, PROTOCOL_VERSION)) {
|
||||
GetSerializeSize(result_stack) < GetSerializeSize(smallest_result_stack)) {
|
||||
smallest_result_stack = std::move(result_stack);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue