Merge 80f00cafde into merged_master (Bitcoin PR bitcoin/bitcoin#29071)

This commit is contained in:
ikripaka 2026-03-20 10:49:10 +00:00
commit ce9cd2dfd7
No known key found for this signature in database
21 changed files with 76 additions and 74 deletions

View file

@ -2,10 +2,6 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <stdint.h>
#include <string>
#include <vector>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
@ -22,6 +18,11 @@
#include <script/script_error.h>
#include <script/signingprovider.h>
#include <algorithm>
#include <cstdint>
#include <string>
#include <vector>
namespace {
/** TestData groups various kinds of precomputed data necessary in this test. */
@ -274,7 +275,7 @@ public:
XOnlyPubKey pk{pubkey};
auto it = g_testdata->schnorr_signatures.find(pk);
if (it == g_testdata->schnorr_signatures.end()) return false;
return sig == it->second;
return std::ranges::equal(sig, it->second);
}
bool CheckLockTime(const CScriptNum& locktime) const override {