Browse Source

elements: Tell closingd in which network it is running

Signed-off-by: Christian Decker <decker.christian@gmail.com>
travis-debug
Christian Decker 6 years ago
committed by Rusty Russell
parent
commit
b016ce94e8
  1. 1
      closingd/closing_wire.csv
  2. 1
      closingd/closingd.c
  3. 1
      lightningd/closing_control.c

1
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,

Can't render this file because it has a wrong number of fields in line 4.

1
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]),

1
lightningd/closing_control.c

@ -8,6 +8,7 @@
#include <errno.h>
#include <gossipd/gen_gossip_wire.h>
#include <inttypes.h>
#include <lightningd/bitcoind.h>
#include <lightningd/chaintopology.h>
#include <lightningd/channel.h>
#include <lightningd/closing_control.h>

Loading…
Cancel
Save