server: instantiate the chanSeries struct in the gossiper's config

This commit is contained in:
Olaoluwa Osuntokun 2018-04-16 19:10:48 -07:00
parent 210e28a483
commit 486f87576c
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -390,6 +390,7 @@ func newServer(listenAddrs []string, chanDB *channeldb.DB, cc *chainControl,
Notifier: s.cc.chainNotifier,
ChainHash: *activeNetParams.GenesisHash,
Broadcast: s.BroadcastMessage,
ChanSeries: &chanSeries{s.chanDB.ChannelGraph()},
SendToPeer: s.SendToPeer,
NotifyWhenOnline: s.NotifyWhenOnline,
ProofMatureDelta: 0,