From 4462cb04986d77eddcfc6e8f75e04dc278a8147a Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 12 Dec 2022 23:44:53 -0500 Subject: 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. --- src/test/fuzz/psbt.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/test/fuzz/psbt.cpp') diff --git a/src/test/fuzz/psbt.cpp b/src/test/fuzz/psbt.cpp index baa64bba0f..81d0b95341 100644 --- a/src/test/fuzz/psbt.cpp +++ b/src/test/fuzz/psbt.cpp @@ -22,12 +22,7 @@ using node::AnalyzePSBT; using node::PSBTAnalysis; using node::PSBTInputAnalysis; -void initialize_psbt() -{ - static const ECCVerifyHandle verify_handle; -} - -FUZZ_TARGET_INIT(psbt, initialize_psbt) +FUZZ_TARGET(psbt) { FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()}; PartiallySignedTransaction psbt_mut; -- cgit v1.2.3