Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 7: [PATCH 07/68] build: adapt Roots maintenance and assurance to Core 30.3

src/test/fuzz/coins_view.cpp

Before: src/test/fuzz/coins_view.cpp · After: src/test/fuzz/coins_view.cpp

File metadata
index 2b9b81e03068dc1ad3d8b3744a86b2dc80f574b9..bcbd26b4a6ade8a78a2611df5c7299f2a2023a83 100644

Download original patch · Release notes

Diff rows 1–9 of 9. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/test/fuzz/coins_view.cpp CHANGED
@@ -297,7 +297,8 @@ void TestCoinsView(FuzzedDataProvider& fuzzed_data_provider, CCoinsView& backend
297
  (void)GetTransactionSigOpCost(transaction, coins_view_cache, flags);
298
  },
299
  [&] {
300
- (void)IsWitnessStandard(CTransaction{random_mutable_transaction}, coins_view_cache);
 
301
  });
302
  }
303
  }
 
297
  (void)GetTransactionSigOpCost(transaction, coins_view_cache, flags);
298
  },
299
  [&] {
300
+ std::string reason;
301
+ (void)IsWitnessStandard(CTransaction{random_mutable_transaction}, coins_view_cache, "bad-witness-", reason);
302
  });
303
  }
304
  }