From dcb4ec944984961e3b40452425a219e15e6ab508 Mon Sep 17 00:00:00 2001 From: brunoerg Date: Sat, 20 Jul 2024 11:04:14 -0300 Subject: [PATCH] fuzz: reduce keypool size in scriptpubkeyman target --- src/wallet/test/fuzz/scriptpubkeyman.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/test/fuzz/scriptpubkeyman.cpp b/src/wallet/test/fuzz/scriptpubkeyman.cpp index 835470aeae9..1066a3c268d 100644 --- a/src/wallet/test/fuzz/scriptpubkeyman.cpp +++ b/src/wallet/test/fuzz/scriptpubkeyman.cpp @@ -94,6 +94,7 @@ FUZZ_TARGET(scriptpubkeyman, .init = initialize_spkm) LOCK(wallet.cs_wallet); wallet.SetWalletFlag(WALLET_FLAG_DESCRIPTORS); wallet.SetLastBlockProcessed(chainstate.m_chain.Height(), chainstate.m_chain.Tip()->GetBlockHash()); + wallet.m_keypool_size = 10; } auto wallet_desc{CreateWalletDescriptor(fuzzed_data_provider)};