mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
JSON: remove handling of pre-Adelaide (B:T:N) short_channel_ids.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
714e7fb670
commit
acf3952acc
@@ -43,7 +43,7 @@ static struct scidsat *load_csv_file(FILE *scidf)
|
||||
err(1, "reading 'scid ,satoshis' from csv failed");
|
||||
|
||||
while(fscanf(scidf, "%s ,%"SCNu64"\n", str, &scidsats[i].sat.satoshis) == 2 ) { /* Raw: read from file */
|
||||
if (!short_channel_id_from_str(str, strlen(str), &scidsats[i].scid, 0))
|
||||
if (!short_channel_id_from_str(str, strlen(str), &scidsats[i].scid))
|
||||
err(1, "failed to make scid struct");
|
||||
i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user