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

This commit is contained in:
Olaoluwa Osuntokun committed 2018-05-31 16:30:56 -07:00
1 parent 210e28a483
commit 486f87576c
1 file changed
+1
+1
View File
@@ -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,