File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ bool ECC_InitSanityCheck() {
432432 return key.VerifyPubKey (pubkey);
433433}
434434
435- void ECC_Start () {
435+ static void ECC_Start () {
436436 assert (secp256k1_context_sign == nullptr );
437437
438438 secp256k1_context *ctx = secp256k1_context_create (SECP256K1_CONTEXT_NONE);
@@ -449,7 +449,7 @@ void ECC_Start() {
449449 secp256k1_context_sign = ctx;
450450}
451451
452- void ECC_Stop () {
452+ static void ECC_Stop () {
453453 secp256k1_context *ctx = secp256k1_context_sign;
454454 secp256k1_context_sign = nullptr ;
455455
Original file line number Diff line number Diff line change @@ -230,12 +230,6 @@ struct CExtKey {
230230 void SetSeed (Span<const std::byte> seed);
231231};
232232
233- /* * Initialize the elliptic curve support. May not be called twice without calling ECC_Stop first. */
234- void ECC_Start ();
235-
236- /* * Deinitialize the elliptic curve support. No-op if ECC_Start wasn't called first. */
237- void ECC_Stop ();
238-
239233/* * Check that required EC support is available at runtime. */
240234bool ECC_InitSanityCheck ();
241235
You can’t perform that action at this time.
0 commit comments