Skip to content

Commit fa7a911

Browse files
author
MacroFake
committed
test: Remove unused cs_main
1 parent fa9cba7 commit fa7a911

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/test/script_p2sh_tests.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ BOOST_FIXTURE_TEST_SUITE(script_p2sh_tests, BasicTestingSetup)
4949

5050
BOOST_AUTO_TEST_CASE(sign)
5151
{
52-
LOCK(cs_main);
5352
// Pay-to-script-hash looks like this:
5453
// scriptSig: <sig> <sig...> <serialized_script>
5554
// scriptPubKey: HASH160 <hash> EQUAL
@@ -149,7 +148,6 @@ BOOST_AUTO_TEST_CASE(norecurse)
149148

150149
BOOST_AUTO_TEST_CASE(set)
151150
{
152-
LOCK(cs_main);
153151
// Test the CScript::Set* methods
154152
FillableSigningProvider keystore;
155153
CKey key[4];
@@ -263,7 +261,6 @@ BOOST_AUTO_TEST_CASE(switchover)
263261

264262
BOOST_AUTO_TEST_CASE(AreInputsStandard)
265263
{
266-
LOCK(cs_main);
267264
CCoinsView coinsDummy;
268265
CCoinsViewCache coins(&coinsDummy);
269266
FillableSigningProvider keystore;

src/test/transaction_tests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,6 @@ BOOST_AUTO_TEST_CASE(test_witness)
745745

746746
BOOST_AUTO_TEST_CASE(test_IsStandard)
747747
{
748-
LOCK(cs_main);
749748
FillableSigningProvider keystore;
750749
CCoinsView coinsDummy;
751750
CCoinsViewCache coins(&coinsDummy);

0 commit comments

Comments
 (0)