aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/block.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-03-10 12:55:41 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-03-11 12:51:26 +0000
commitd3d4892ef45d09edbbe4672b112100743970b2a5 (patch)
treee293227df42ae9f4c49cb0a271d4ce028b8e6658 /src/test/fuzz/block.cpp
parente57e67057ae76db73f52ddd5480a4ea5b4bf1636 (diff)
tests: Simplify code by removing unwarranted use of unique_ptr:s
Diffstat (limited to 'src/test/fuzz/block.cpp')
-rw-r--r--src/test/fuzz/block.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/fuzz/block.cpp b/src/test/fuzz/block.cpp
index 4a97eca18a..9d0ad369a2 100644
--- a/src/test/fuzz/block.cpp
+++ b/src/test/fuzz/block.cpp
@@ -15,12 +15,11 @@
#include <version.h>
#include <cassert>
-#include <memory>
#include <string>
void initialize()
{
- const static auto verify_handle = MakeUnique<ECCVerifyHandle>();
+ static const ECCVerifyHandle verify_handle;
SelectParams(CBaseChainParams::REGTEST);
}