mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 14:48:14 +01:00
probabilityFormula() is expected to return an error if capacity is 0, so we should exclude that case from fuzzing. Previously it was attempted to avoid this case by seeding the corpus with an input that had capacity 1. That is not an effective solution since the fuzzer can still generate an input with capacity 0.
19 KiB
19 KiB