diff --git a/closingd/closing_wire.csv b/closingd/closing_wire.csv index fa0a64700..97d31a761 100644 --- a/closingd/closing_wire.csv +++ b/closingd/closing_wire.csv @@ -5,6 +5,7 @@ msgtype,closing_init,2001 msgdata,closing_init,chain_hash,chain_hash, msgdata,closing_init,pps,per_peer_state, +msgdata,closing_init,chain_hash,bitcoin_blkid, msgdata,closing_init,funding_txid,bitcoin_txid, msgdata,closing_init,funding_txout,u16, msgdata,closing_init,funding_satoshi,amount_sat, diff --git a/closingd/closingd.c b/closingd/closingd.c index 3346ad056..d6f35cd76 100644 --- a/closingd/closingd.c +++ b/closingd/closingd.c @@ -612,6 +612,7 @@ int main(int argc, char *argv[]) /* stdin == requests, 3 == peer, 4 = gossip, 5 = gossip_store, 6 = hsmd */ per_peer_state_set_fds(pps, 3, 4, 5); chainparams = chainparams_by_chainhash(&chain_hash); + is_elements = chainparams->is_elements; status_debug("out = %s/%s", type_to_string(tmpctx, struct amount_sat, &out[LOCAL]), diff --git a/lightningd/closing_control.c b/lightningd/closing_control.c index 79a0b6d93..a5f8b67c7 100644 --- a/lightningd/closing_control.c +++ b/lightningd/closing_control.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include