refactor: add kernel/cs_main.*

Co-authored-by: Anthony Towns <aj@erisian.com.au>
This commit is contained in:
fanquake
2022-09-15 10:45:07 +01:00
parent 296e882250
commit 282019cd3d
17 changed files with 44 additions and 27 deletions

View File

@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(MempoolRemoveTest)
CTxMemPool& testPool = *Assert(m_node.mempool);
LOCK2(cs_main, testPool.cs);
LOCK2(::cs_main, testPool.cs);
// Nothing in pool, remove should do nothing:
unsigned int poolSize = testPool.size();