@@ -123,7 +123,7 @@ void MinerTestingSetup::TestPackageSelection(const CChainParams& chainparams, co
123
123
m_node.mempool ->addUnchecked (entry.Fee (50000 ).Time (GetTime ()).SpendsCoinbase (false ).FromTx (tx));
124
124
125
125
std::unique_ptr<CBlockTemplate> pblocktemplate = AssemblerForTest (chainparams).CreateNewBlock (scriptPubKey);
126
- BOOST_REQUIRE_EQUAL (pblocktemplate->block .vtx .size (), 4 );
126
+ BOOST_REQUIRE_EQUAL (pblocktemplate->block .vtx .size (), 4U );
127
127
BOOST_CHECK (pblocktemplate->block .vtx [1 ]->GetHash () == hashParentTx);
128
128
BOOST_CHECK (pblocktemplate->block .vtx [2 ]->GetHash () == hashHighFeeTx);
129
129
BOOST_CHECK (pblocktemplate->block .vtx [3 ]->GetHash () == hashMediumFeeTx);
@@ -158,7 +158,7 @@ void MinerTestingSetup::TestPackageSelection(const CChainParams& chainparams, co
158
158
hashLowFeeTx = tx.GetHash ();
159
159
m_node.mempool ->addUnchecked (entry.Fee (feeToUse+2 ).FromTx (tx));
160
160
pblocktemplate = AssemblerForTest (chainparams).CreateNewBlock (scriptPubKey);
161
- BOOST_REQUIRE_EQUAL (pblocktemplate->block .vtx .size (), 6 );
161
+ BOOST_REQUIRE_EQUAL (pblocktemplate->block .vtx .size (), 6U );
162
162
BOOST_CHECK (pblocktemplate->block .vtx [4 ]->GetHash () == hashFreeTx);
163
163
BOOST_CHECK (pblocktemplate->block .vtx [5 ]->GetHash () == hashLowFeeTx);
164
164
@@ -193,7 +193,7 @@ void MinerTestingSetup::TestPackageSelection(const CChainParams& chainparams, co
193
193
tx.vout [0 ].nValue = 100000000 - 10000 ; // 10k satoshi fee
194
194
m_node.mempool ->addUnchecked (entry.Fee (10000 ).FromTx (tx));
195
195
pblocktemplate = AssemblerForTest (chainparams).CreateNewBlock (scriptPubKey);
196
- BOOST_REQUIRE_EQUAL (pblocktemplate->block .vtx .size (), 9 );
196
+ BOOST_REQUIRE_EQUAL (pblocktemplate->block .vtx .size (), 9U );
197
197
BOOST_CHECK (pblocktemplate->block .vtx [8 ]->GetHash () == hashLowFeeTx2);
198
198
}
199
199
0 commit comments