forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common/gossip_store: handle short reads.
This happened on Travis, and the gossip_store was a suspicious 4096 bytes long. This implies they're using some non-atomic filesystem (gossipd always does atomic writes to gossip_store), but if they are, others surely are too. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
f1b5706
commit adcb664
Showing
1 changed file
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters