mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
nit: remove end-of-line whitespace
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
ede7d0518e
commit
8a4ff05a40
@ -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…
Reference in New Issue
Block a user