diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-21 18:09:02 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-02 15:29:16 +0200 |
commit | 66664384a6fec39ecb4d8d06db66a4f193a06e33 (patch) | |
tree | 7769cc7b287f4202edebae9c5314e8be4509d7e7 /src/test/transaction_tests.cpp | |
parent | fad0b4fab849eb5f1f0aa54ebc290f85a473ec91 (diff) | |
download | bitcoin-66664384a6fec39ecb4d8d06db66a4f193a06e33.tar.xz |
Remove ::g_max_datacarrier_bytes global
Diffstat (limited to 'src/test/transaction_tests.cpp')
-rw-r--r-- | src/test/transaction_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 9055b8f559..cd6bf11327 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -767,12 +767,12 @@ BOOST_AUTO_TEST_CASE(test_IsStandard) constexpr auto CheckIsStandard = [](const auto& t) { std::string reason; - BOOST_CHECK(IsStandardTx(CTransaction{t}, g_bare_multi, g_dust, reason)); + BOOST_CHECK(IsStandardTx(CTransaction{t}, MAX_OP_RETURN_RELAY, g_bare_multi, g_dust, reason)); BOOST_CHECK(reason.empty()); }; constexpr auto CheckIsNotStandard = [](const auto& t, const std::string& reason_in) { std::string reason; - BOOST_CHECK(!IsStandardTx(CTransaction{t}, g_bare_multi, g_dust, reason)); + BOOST_CHECK(!IsStandardTx(CTransaction{t}, MAX_OP_RETURN_RELAY, g_bare_multi, g_dust, reason)); BOOST_CHECK_EQUAL(reason_in, reason); }; |