mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-30 20:34:20 +01:00
Since we open with O_APPEND, any write() will append as we want it to. But we want to distinguish a new store creation from a truncation due to bad version. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>