Do not use EC code in global constructors

This commit is contained in:
Pieter Wuille 2014-11-05 09:43:44 -08:00
parent 07a9901703
commit 4c97c64bf6

View File

@ -175,7 +175,6 @@ struct KeyData
} }
}; };
const KeyData keys;
class TestBuilder class TestBuilder
{ {
@ -317,6 +316,8 @@ public:
BOOST_AUTO_TEST_CASE(script_build) BOOST_AUTO_TEST_CASE(script_build)
{ {
const KeyData keys;
std::vector<TestBuilder> good; std::vector<TestBuilder> good;
std::vector<TestBuilder> bad; std::vector<TestBuilder> bad;