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 fab53b5 commit fae20e6Copy full SHA for fae20e6
src/script/standard.cpp
@@ -366,13 +366,7 @@ void TaprootSpendData::Merge(TaprootSpendData other)
366
merkle_root = other.merkle_root;
367
}
368
for (auto& [key, control_blocks] : other.scripts) {
369
- // Once P0083R3 is supported by all our targeted platforms,
370
- // this loop body can be replaced with:
371
- // scripts[key].merge(std::move(control_blocks));
372
- auto& target = scripts[key];
373
- for (auto& control_block: control_blocks) {
374
- target.insert(std::move(control_block));
375
- }
+ scripts[key].merge(std::move(control_blocks));
376
377
378
0 commit comments