mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
create-gossipstore: actually use the CSV values.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b248bb155a
commit
14ef3e9565
@ -150,6 +150,7 @@ int main(int argc, char *argv[])
|
|||||||
errx(1, "bad channel_announcement");
|
errx(1, "bad channel_announcement");
|
||||||
if (!short_channel_id_eq(&scid, &scidsats[scidi].scid))
|
if (!short_channel_id_eq(&scid, &scidsats[scidi].scid))
|
||||||
errx(1, "scid of message does not match scid in csv");
|
errx(1, "scid of message does not match scid in csv");
|
||||||
|
sat = scidsats[scidi].sat;
|
||||||
scidi++;
|
scidi++;
|
||||||
}
|
}
|
||||||
outmsg = towire_gossip_store_channel_announcement(inmsg, inmsg, sat);
|
outmsg = towire_gossip_store_channel_announcement(inmsg, inmsg, sat);
|
||||||
|
Loading…
Reference in New Issue
Block a user