diff --git a/include/bitcoin/system/crypto/secp256k1_batch.hpp b/include/bitcoin/system/crypto/secp256k1_batch.hpp index 89b82650a2..73320d3d25 100644 --- a/include/bitcoin/system/crypto/secp256k1_batch.hpp +++ b/include/bitcoin/system/crypto/secp256k1_batch.hpp @@ -115,7 +115,7 @@ struct BC_API batch batched::tx_link link; static void scan(const stopper& cancel, const span& batch, - const ec_compressed& scan_key, const handler& callback) NOEXCEPT; + const ec_secret& scan_key, const handler& callback) NOEXCEPT; }; } // namespace silent diff --git a/src/crypto/secp256k1/batch.cpp b/src/crypto/secp256k1/batch.cpp index 92893da59e..00a2e9218e 100644 --- a/src/crypto/secp256k1/batch.cpp +++ b/src/crypto/secp256k1/batch.cpp @@ -348,7 +348,7 @@ links_t schnorr::batch::verify(const stopper& cancel, #if defined(HAVE_ULTRAFAST) void silent::batch::scan(const stopper& , const span& , - const ec_compressed& , const handler& ) NOEXCEPT + const ec_secret& , const handler& ) NOEXCEPT { // TODO: iterate over chunked subsets or entire set. // TODO: correlate matches to tx link column and invoke callback. @@ -357,7 +357,7 @@ void silent::batch::scan(const stopper& , const span& , #else void silent::batch::scan(const stopper& , const span& , - const ec_compressed& , const handler& ) NOEXCEPT + const ec_secret& , const handler& ) NOEXCEPT { // TODO: iterate results set in cancellable parallel loop over full space. // TODO: correlate matches to tx link and invoke callback.