mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 0de36941ec into merged_master (Bitcoin PR bitcoin/bitcoin#25153)
This commit is contained in:
commit
06a6044137
32 changed files with 115 additions and 115 deletions
|
|
@ -406,8 +406,8 @@ BOOST_AUTO_TEST_CASE(bip341_spk_test_vectors)
|
|||
if (node.isObject()) {
|
||||
auto script_bytes = ParseHex(node["script"].get_str());
|
||||
CScript script(script_bytes.begin(), script_bytes.end());
|
||||
int idx = node["id"].get_int();
|
||||
int leaf_version = node["leafVersion"].get_int();
|
||||
int idx = node["id"].getInt<int>();
|
||||
int leaf_version = node["leafVersion"].getInt<int>();
|
||||
scriptposes[{script, leaf_version}] = idx;
|
||||
spktest.Add(depth, script, leaf_version);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue