mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge 1b8b28d83b into merged_master (Bitcoin PR bitcoin/bitcoin#27786)
This commit is contained in:
commit
c8669f8803
1 changed files with 4 additions and 0 deletions
|
|
@ -143,6 +143,10 @@ FUZZ_TARGET_INIT(wallet_notifications, initialize_setup)
|
|||
info.prev_hash = &block.hashPrevBlock;
|
||||
info.height = chain.size();
|
||||
info.data = █
|
||||
// Ensure that no blocks are skipped by the wallet by setting the chain's accumulated
|
||||
// time to the maximum value. This ensures that the wallet's birth time is always
|
||||
// earlier than this maximum time.
|
||||
info.chain_time_max = std::numeric_limits<unsigned int>::max();
|
||||
a.wallet->blockConnected(info);
|
||||
b.wallet->blockConnected(info);
|
||||
// Store the coins for the next block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue