Skip to content

Commit dcb4ec9

Browse files
committed
fuzz: reduce keypool size in scriptpubkeyman target
1 parent 20ccb30 commit dcb4ec9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/test/fuzz/scriptpubkeyman.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ FUZZ_TARGET(scriptpubkeyman, .init = initialize_spkm)
9494
LOCK(wallet.cs_wallet);
9595
wallet.SetWalletFlag(WALLET_FLAG_DESCRIPTORS);
9696
wallet.SetLastBlockProcessed(chainstate.m_chain.Height(), chainstate.m_chain.Tip()->GetBlockHash());
97+
wallet.m_keypool_size = 10;
9798
}
9899

99100
auto wallet_desc{CreateWalletDescriptor(fuzzed_data_provider)};

0 commit comments

Comments
 (0)