channeld: hand in chain_hash.

This will be needed for gossip messages.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-08-22 14:35:37 +09:30
committed by Christian Decker
parent b3514d3430
commit 2b9d3bb0b7
3 changed files with 4 additions and 0 deletions

View File

@@ -1643,6 +1643,7 @@ static bool peer_start_channeld(struct peer *peer,
shutdown_scriptpubkey = NULL;
initmsg = towire_channel_init(tmpctx,
&peer->ld->chainparams->genesis_blockhash,
peer->funding_txid,
peer->funding_outnum,
peer->funding_satoshi,