channel: Passing through the endpoint node_ids

This is used to generate the announcements.
This commit is contained in:
Christian Decker
2017-03-11 17:16:17 +01:00
committed by Rusty Russell
parent 8a893df951
commit 5a1fbb7aaf
3 changed files with 12 additions and 5 deletions

View File

@@ -665,7 +665,9 @@ static void peer_start_channeld(struct peer *peer, bool am_funder,
15000,
peer->funding_satoshi,
peer->push_msat,
peer->seed);
peer->seed,
&peer->ld->dstate.id,
peer->id);
/* We don't expect a response: we are triggered by funding_depth_cb. */
subd_send_msg(peer->owner, take(msg));