create-gossipstore: actually use the CSV values.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-04-18 17:07:24 +09:30 committed by neil saitug
parent b248bb155a
commit 14ef3e9565

View File

@ -150,6 +150,7 @@ int main(int argc, char *argv[])
errx(1, "bad channel_announcement");
if (!short_channel_id_eq(&scid, &scidsats[scidi].scid))
errx(1, "scid of message does not match scid in csv");
sat = scidsats[scidi].sat;
scidi++;
}
outmsg = towire_gossip_store_channel_announcement(inmsg, inmsg, sat);