diff --git a/channeld/channeld.c b/channeld/channeld.c index e16dabc4f..83bab15bf 100644 --- a/channeld/channeld.c +++ b/channeld/channeld.c @@ -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