mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-31 11:44:25 +01:00
If we have a non-empty file and the version doesn't match, then we truncate and write our own version. If the file is empty we write our version and the truncate becomes a no-op Signed-off-by: Christian Decker <decker.christian@gmail.com>