From 5e9022b73da58396e948709183e3b9d67244c980 Mon Sep 17 00:00:00 2001 From: SikkieNL Date: Sat, 14 Sep 2024 22:54:49 +0200 Subject: [PATCH] Update script_tests.cpp --- src/test/script_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index bb4e5a1db..561e2bace 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -15,7 +15,7 @@ #include "test/test_neobytes.h" #if defined(HAVE_CONSENSUS_LIB) -#include "script/bitcoinconsensus.h" +#include "script/neobytescoinconsensus.h" #endif #include @@ -155,7 +155,7 @@ void DoTest(const CScript& scriptPubKey, const CScript& scriptSig, int flags, co #if defined(HAVE_CONSENSUS_LIB) CDataStream stream(SER_NETWORK, PROTOCOL_VERSION); stream << tx2; - BOOST_CHECK_MESSAGE(bitcoinconsensus_verify_script(begin_ptr(scriptPubKey), scriptPubKey.size(), (const unsigned char*)&stream[0], stream.size(), 0, flags, NULL) == expect,message); + BOOST_CHECK_MESSAGE(neobytesconsensus_verify_script(begin_ptr(scriptPubKey), scriptPubKey.size(), (const unsigned char*)&stream[0], stream.size(), 0, flags, NULL) == expect,message); #endif }