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/script/bitcoinconsensus.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/script/bitcoinconsensus.cpp') diff --git a/src/script/bitcoinconsensus.cpp b/src/script/bitcoinconsensus.cpp index f7f9dfc262..309067e4fd 100644 --- a/src/script/bitcoinconsensus.cpp +++ b/src/script/bitcoinconsensus.cpp @@ -62,12 +62,6 @@ inline int set_error(bitcoinconsensus_error* ret, bitcoinconsensus_error serror) return 0; } -struct ECCryptoClosure -{ - ECCVerifyHandle handle; -}; - -ECCryptoClosure instance_of_eccryptoclosure; } // namespace /** Check that all specified flags are part of the libconsensus interface. */ -- cgit v1.2.3