mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-19 05:45:05 +01:00
fuzz: finer grained ImprovesFeerateDiagram check on error result
This commit is contained in:
parent
c377ae9ba0
commit
2a3ada8b21
@ -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…
Reference in New Issue
Block a user