diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-04-14 19:30:16 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-04-14 19:29:52 +0200 |
commit | fad6d4f952373690ef16ce27b0926c0ab762066a (patch) | |
tree | 8c2d5b48e558cd69dc5e3ddbf7ffb7aad4cb8c30 /src/test/pmt_tests.cpp | |
parent | fa456ccb2287b2a1a4eb7224b424f12fe59302e9 (diff) | |
download | bitcoin-fad6d4f952373690ef16ce27b0926c0ab762066a.tar.xz |
Remove not needed ArithToUint256 roundtrips in tests
Diffstat (limited to 'src/test/pmt_tests.cpp')
-rw-r--r-- | src/test/pmt_tests.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/test/pmt_tests.cpp b/src/test/pmt_tests.cpp index a9d661438c..3cbbec92d6 100644 --- a/src/test/pmt_tests.cpp +++ b/src/test/pmt_tests.cpp @@ -2,7 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include <arith_uint256.h> #include <consensus/merkle.h> #include <merkleblock.h> #include <serialize.h> @@ -107,13 +106,13 @@ BOOST_AUTO_TEST_CASE(pmt_test1) BOOST_AUTO_TEST_CASE(pmt_malleability) { - std::vector<uint256> vTxid = { - ArithToUint256(1), ArithToUint256(2), - ArithToUint256(3), ArithToUint256(4), - ArithToUint256(5), ArithToUint256(6), - ArithToUint256(7), ArithToUint256(8), - ArithToUint256(9), ArithToUint256(10), - ArithToUint256(9), ArithToUint256(10), + std::vector<uint256> vTxid{ + uint256{1}, uint256{2}, + uint256{3}, uint256{4}, + uint256{5}, uint256{6}, + uint256{7}, uint256{8}, + uint256{9}, uint256{10}, + uint256{9}, uint256{10}, }; std::vector<bool> vMatch = {false, false, false, false, false, false, false, false, false, true, true, false}; |