aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-05 09:43:44 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-18 18:06:46 +0100
commit4c97c64bf68a8e57c84fc00a97d16723cf828a0a (patch)
tree37e9fda9a199eecd4bd0a0d6bf205fb03395e7e7 /src
parent07a99017033b23f840f602d768efa87e0e914e90 (diff)
Do not use EC code in global constructors
Diffstat (limited to 'src')
-rw-r--r--src/test/script_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index ede13b23c2..d98154571b 100644
--- a/src/test/script_tests.cpp
+++ b/src/test/script_tests.cpp
@@ -175,7 +175,6 @@ struct KeyData
}
};
-const KeyData keys;
class TestBuilder
{
@@ -317,6 +316,8 @@ public:
BOOST_AUTO_TEST_CASE(script_build)
{
+ const KeyData keys;
+
std::vector<TestBuilder> good;
std::vector<TestBuilder> bad;