mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
fuzz: reduce keypool size in scriptpubkeyman target
This commit is contained in:
parent
20ccb30b7a
commit
dcb4ec9449
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ FUZZ_TARGET(scriptpubkeyman, .init = initialize_spkm)
|
||||||
LOCK(wallet.cs_wallet);
|
LOCK(wallet.cs_wallet);
|
||||||
wallet.SetWalletFlag(WALLET_FLAG_DESCRIPTORS);
|
wallet.SetWalletFlag(WALLET_FLAG_DESCRIPTORS);
|
||||||
wallet.SetLastBlockProcessed(chainstate.m_chain.Height(), chainstate.m_chain.Tip()->GetBlockHash());
|
wallet.SetLastBlockProcessed(chainstate.m_chain.Height(), chainstate.m_chain.Tip()->GetBlockHash());
|
||||||
|
wallet.m_keypool_size = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto wallet_desc{CreateWalletDescriptor(fuzzed_data_provider)};
|
auto wallet_desc{CreateWalletDescriptor(fuzzed_data_provider)};
|
||||||
|
|
Loading…
Add table
Reference in a new issue