mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-23 23:33:47 +02:00
test: Remove unused cs_main
This commit is contained in:
parent
fa9cba7afb
commit
fa7a9114e5
@ -49,7 +49,6 @@ BOOST_FIXTURE_TEST_SUITE(script_p2sh_tests, BasicTestingSetup)
|
|||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(sign)
|
BOOST_AUTO_TEST_CASE(sign)
|
||||||
{
|
{
|
||||||
LOCK(cs_main);
|
|
||||||
// Pay-to-script-hash looks like this:
|
// Pay-to-script-hash looks like this:
|
||||||
// scriptSig: <sig> <sig...> <serialized_script>
|
// scriptSig: <sig> <sig...> <serialized_script>
|
||||||
// scriptPubKey: HASH160 <hash> EQUAL
|
// scriptPubKey: HASH160 <hash> EQUAL
|
||||||
@ -149,7 +148,6 @@ BOOST_AUTO_TEST_CASE(norecurse)
|
|||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(set)
|
BOOST_AUTO_TEST_CASE(set)
|
||||||
{
|
{
|
||||||
LOCK(cs_main);
|
|
||||||
// Test the CScript::Set* methods
|
// Test the CScript::Set* methods
|
||||||
FillableSigningProvider keystore;
|
FillableSigningProvider keystore;
|
||||||
CKey key[4];
|
CKey key[4];
|
||||||
@ -263,7 +261,6 @@ BOOST_AUTO_TEST_CASE(switchover)
|
|||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(AreInputsStandard)
|
BOOST_AUTO_TEST_CASE(AreInputsStandard)
|
||||||
{
|
{
|
||||||
LOCK(cs_main);
|
|
||||||
CCoinsView coinsDummy;
|
CCoinsView coinsDummy;
|
||||||
CCoinsViewCache coins(&coinsDummy);
|
CCoinsViewCache coins(&coinsDummy);
|
||||||
FillableSigningProvider keystore;
|
FillableSigningProvider keystore;
|
||||||
|
@ -745,7 +745,6 @@ BOOST_AUTO_TEST_CASE(test_witness)
|
|||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(test_IsStandard)
|
BOOST_AUTO_TEST_CASE(test_IsStandard)
|
||||||
{
|
{
|
||||||
LOCK(cs_main);
|
|
||||||
FillableSigningProvider keystore;
|
FillableSigningProvider keystore;
|
||||||
CCoinsView coinsDummy;
|
CCoinsView coinsDummy;
|
||||||
CCoinsViewCache coins(&coinsDummy);
|
CCoinsViewCache coins(&coinsDummy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user