elements: Tell channeld that we're dealing with elements txs

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker 2019-05-06 15:25:18 +02:00 committed by Rusty Russell
parent 92b8758753
commit 4057fd24af

View File

@ -3002,6 +3002,7 @@ static void init_channel(struct peer *peer)
/* stdin == requests, 3 == peer, 4 = gossip, 5 = gossip_store, 6 = HSM */
per_peer_state_set_fds(peer->pps, 3, 4, 5);
is_elements = chainparams_by_chainhash(&peer->chain_hash)->is_elements;
status_debug("init %s: remote_per_commit = %s, old_remote_per_commit = %s"
" next_idx_local = %"PRIu64
" next_idx_remote = %"PRIu64