mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
fuzz: finer grained ImprovesFeerateDiagram check on error result
This commit is contained in:
parent
c377ae9ba0
commit
2a3ada8b21
1 changed files with 1 additions and 1 deletions
|
@ -178,5 +178,5 @@ FUZZ_TARGET(package_rbf, .init = initialize_package_rbf)
|
|||
|
||||
// If internals report error, wrapper should too
|
||||
auto err_tuple{ImprovesFeerateDiagram(pool, direct_conflicts, all_conflicts, replacement_fees, replacement_vsize)};
|
||||
if (!calc_results.has_value()) assert(err_tuple.has_value());
|
||||
if (!calc_results.has_value()) assert(err_tuple.value().first == DiagramCheckError::UNCALCULABLE);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue