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:
Rusty Russell
2019-09-06 16:11:41 +09:30
committed by Christian Decker
parent 714e7fb670
commit acf3952acc
17 changed files with 23 additions and 47 deletions

View File

@@ -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++;
}