fuzz: clang-format LIMITED_WHILE

This is a whitespace-only clang-format change.

To verify it, one can run:

```sh
(git show | git apply --reverse ) && ( git diff -U0 | ./contrib/devtools/clang-format-diff.py -p1 -i -v ) && git diff HEAD
```

A few minor, non-macro formatting adjustments were made in touched files:

* `src/wallet/test/fuzz/crypter.cpp`: Removed a redundant double semicolon
* `src/test/fuzz/txorphan.cpp`: Corrected indentation on an `else if` block.
* `src/test/fuzz/mini_miner.cpp`: Removed an unnecessary empty line.
This commit is contained in:
MarcoFalke
2026-07-14 13:50:50 +02:00
parent fa0d777ce2
commit fab8eeed82
65 changed files with 91 additions and 142 deletions

View File

@@ -237,8 +237,7 @@ FUZZ_TARGET(ephemeral_package_eval, .init = initialize_tx_pool)
chainstate.SetMempool(&tx_pool);
LIMITED_WHILE(fuzzed_data_provider.remaining_bytes() > 0, 300)
{
LIMITED_WHILE (fuzzed_data_provider.remaining_bytes() > 0, 300) {
Assert(!mempool_outpoints.empty());
std::vector<CTransactionRef> txs;
@@ -392,8 +391,7 @@ FUZZ_TARGET(tx_package_eval, .init = initialize_tx_pool)
chainstate.SetMempool(&tx_pool);
LIMITED_WHILE(fuzzed_data_provider.remaining_bytes() > 0, 300)
{
LIMITED_WHILE (fuzzed_data_provider.remaining_bytes() > 0, 300) {
Assert(!mempool_outpoints.empty());
std::vector<CTransactionRef> txs;