chanfitness: pass clock in to chaneventstore for testing

This commit is contained in:
carla committed 2020-09-08 13:47:15 +02:00
1 parent 7afd113b9f
commit 94accfb69d
6 files changed
+71 -65

No files matched your search

+1
View File
@@ -1211,6 +1211,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
return s.peerNotifier.SubscribePeerEvents()
},
GetOpenChannels: s.remoteChanDB.FetchAllOpenChannels,
Clock: clock.NewDefaultClock(),
})
if cfg.WtClient.Active {