mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-25 15:09:53 +01:00
`Globals.feeratePerKB` is an atomic reference initialized to `null` and is asynchronously set by the fee provider only once it's ready. This means that it is possible to retrieve a null object from feeratePerKB, scenario that must be handled separately to prevent any issues. This commit now initialize `Globals.feeratePerKB` with the default values set in the configuration file. This makes sure that the feerate is always set to a meaningful value. |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |