|
2 | 2 | // Distributed under the MIT software license, see the accompanying
|
3 | 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
4 | 4 |
|
5 |
| -#include <arith_uint256.h> |
6 | 5 | #include <consensus/merkle.h>
|
7 | 6 | #include <merkleblock.h>
|
8 | 7 | #include <serialize.h>
|
@@ -107,13 +106,13 @@ BOOST_AUTO_TEST_CASE(pmt_test1)
|
107 | 106 |
|
108 | 107 | BOOST_AUTO_TEST_CASE(pmt_malleability)
|
109 | 108 | {
|
110 |
| - std::vector<uint256> vTxid = { |
111 |
| - ArithToUint256(1), ArithToUint256(2), |
112 |
| - ArithToUint256(3), ArithToUint256(4), |
113 |
| - ArithToUint256(5), ArithToUint256(6), |
114 |
| - ArithToUint256(7), ArithToUint256(8), |
115 |
| - ArithToUint256(9), ArithToUint256(10), |
116 |
| - ArithToUint256(9), ArithToUint256(10), |
| 109 | + std::vector<uint256> vTxid{ |
| 110 | + uint256{1}, uint256{2}, |
| 111 | + uint256{3}, uint256{4}, |
| 112 | + uint256{5}, uint256{6}, |
| 113 | + uint256{7}, uint256{8}, |
| 114 | + uint256{9}, uint256{10}, |
| 115 | + uint256{9}, uint256{10}, |
117 | 116 | };
|
118 | 117 | std::vector<bool> vMatch = {false, false, false, false, false, false, false, false, false, true, true, false};
|
119 | 118 |
|
|
0 commit comments