Browse Source

nit: remove end-of-line whitespace

Signed-off-by: William Casarin <jb55@jb55.com>
pr-2587
William Casarin 6 years ago
committed by Christian Decker
parent
commit
8a4ff05a40
  1. 6
      devtools/create-gossipstore.c

6
devtools/create-gossipstore.c

@ -16,12 +16,12 @@
struct scidsat * load_scid_file(FILE * scidfd)
struct scidsat * load_scid_file(FILE * scidfd)
{
int n;
fscanf(scidfd, "%d\n", &n);
fscanf(scidfd, "%d\n", &n);
char title[16];
fscanf(scidfd, "%s\n", title);
fscanf(scidfd, "%s\n", title);
struct scidsat * scids = calloc(n, sizeof(scidsat));
int i = 0;
while(fscanf(scidfd, "%s ,%ld\n", scids[i].scid, &scids[i].sat.satoshis) == 2 ) { /* Raw: read from file */

Loading…
Cancel
Save