diff options
Diffstat (limited to 'src/test/fuzz/util.h')
-rw-r--r-- | src/test/fuzz/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/fuzz/util.h b/src/test/fuzz/util.h index 5d27d2a180..4c2176f05b 100644 --- a/src/test/fuzz/util.h +++ b/src/test/fuzz/util.h @@ -11,6 +11,7 @@ #include <compat/compat.h> #include <consensus/amount.h> #include <consensus/consensus.h> +#include <key.h> #include <merkleblock.h> #include <primitives/transaction.h> #include <script/script.h> @@ -165,6 +166,8 @@ template <typename WeakEnumType, size_t size> [[nodiscard]] CTxDestination ConsumeTxDestination(FuzzedDataProvider& fuzzed_data_provider) noexcept; +[[nodiscard]] CKey ConsumePrivateKey(FuzzedDataProvider& fuzzed_data_provider, std::optional<bool> compressed = std::nullopt) noexcept; + template <typename T> [[nodiscard]] bool MultiplicationOverflow(const T i, const T j) noexcept { |