diff options
author | Pieter Wuille <pieter@wuille.net> | 2022-12-12 23:44:53 -0500 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2022-12-13 15:08:24 -0500 |
commit | 4462cb04986d77eddcfc6e8f75e04dc278a8147a (patch) | |
tree | b734303912ceb551182d106edc1b713a055ba4c1 /src/bench/verify_script.cpp | |
parent | 3d8a6ae28326ed10b6ca1c2807ceb400575f2ba7 (diff) | |
download | bitcoin-4462cb04986d77eddcfc6e8f75e04dc278a8147a.tar.xz |
Adapt to libsecp256k1 API changes
* Use SECP256K1_CONTEXT_NONE when creating signing context, as
SECP256K1_CONTEXT_SIGN is deprecated and unnecessary.
* Use secp256k1_static_context where applicable.
Diffstat (limited to 'src/bench/verify_script.cpp')
-rw-r--r-- | src/bench/verify_script.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bench/verify_script.cpp b/src/bench/verify_script.cpp index f0e9db8ba1..f2644af3b6 100644 --- a/src/bench/verify_script.cpp +++ b/src/bench/verify_script.cpp @@ -18,7 +18,6 @@ // modified to measure performance of other types of scripts. static void VerifyScriptBench(benchmark::Bench& bench) { - const ECCVerifyHandle verify_handle; ECC_Start(); const uint32_t flags{SCRIPT_VERIFY_WITNESS | SCRIPT_VERIFY_P2SH}; |