diff options
| author | Pieter Wuille <[email protected]> | 2014-11-05 09:43:44 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-11-18 18:06:46 +0100 |
| commit | 4c97c64bf68a8e57c84fc00a97d16723cf828a0a (patch) | |
| tree | 37e9fda9a199eecd4bd0a0d6bf205fb03395e7e7 /src/test/script_tests.cpp | |
| parent | Always build and link libsecp256k1 (diff) | |
| download | discoin-4c97c64bf68a8e57c84fc00a97d16723cf828a0a.tar.xz discoin-4c97c64bf68a8e57c84fc00a97d16723cf828a0a.zip | |
Do not use EC code in global constructors
Diffstat (limited to 'src/test/script_tests.cpp')
| -rw-r--r-- | src/test/script_tests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index ede13b23c..d98154571 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; |