aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrunoerg <brunoely.gc@gmail.com>2024-07-20 11:04:14 -0300
committerbrunoerg <brunoely.gc@gmail.com>2024-07-20 12:52:19 -0300
commitdcb4ec944984961e3b40452425a219e15e6ab508 (patch)
treed0b78b853017fe3300d50219a75b191225382c9e
parent20ccb30b7af1c30cece2b0579ba88aa101583f07 (diff)
fuzz: reduce keypool size in scriptpubkeyman target
-rw-r--r--src/wallet/test/fuzz/scriptpubkeyman.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/test/fuzz/scriptpubkeyman.cpp b/src/wallet/test/fuzz/scriptpubkeyman.cpp
index 835470aeae..1066a3c268 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)};