mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
elements: Tell closingd in which network it is running
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
4057fd24af
commit
b016ce94e8
@ -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,
|
||||
|
|
@ -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]),
|
||||
|
@ -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…
Reference in New Issue
Block a user