Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: do not abort while parsing hsm pwd.
This is a mistake that I introduced while I implemented the lightningd custom error for hsmd. In particular, when the command line parser check if the file is encrypted make an additional check regarding the existence of the file. This can be a not useful check, but due to the delicate nature of the hsm file, it is better to check if exist and if it doesn't exist an informative line inside the log is emitted that notifies the user that the file does not exist. This log may return useful while debugging disaster (that can happen) to understand that there is something strange (eg. the user moves the hsm file somewhere else). Fixes #5719 Changelog-Fixed: lightningd: do not abort while parsing hsm pwd Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
- Loading branch information