fuzz: reduce keypool size in scriptpubkeyman target

This commit is contained in:
brunoerg 2024-07-20 11:04:14 -03:00
parent 20ccb30b7a
commit dcb4ec9449

View file

@ -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)};