mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 22:25:26 +01:00
Codecs shouldn't throw exceptions and should rather return an explicit `Attempt.Failure` when decoding invalid input. We fix a few codecs that create public keys to do avoid throwing. We also wrap onion TLV streams into a `Try`: even though in theory none of our codecs should throw, since we don't have good enough fuzzing in place to guarantee that it, it's safer to catch exceptions in case a codec isn't correctly implemented. |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |