closingd: Tell closingd which chain we are working on

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2019-07-31 13:15:14 +02:00
committed by Rusty Russell
parent c5ac6c7b1f
commit 2537bd5afa
3 changed files with 4 additions and 0 deletions

View File

@@ -264,6 +264,7 @@ void peer_start_closingd(struct channel *channel,
return;
}
initmsg = towire_closing_init(tmpctx,
&get_chainparams(ld)->genesis_blockhash,
pps,
&channel->funding_txid,
channel->funding_outnum,