mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
graph/db: completely remove cache from KVStore
This commit is contained in:
@@ -93,8 +93,6 @@ func NewChannelGraph(cfg *Config, options ...ChanGraphOption) (*ChannelGraph,
|
||||
log.Debugf("Finished populating in-memory channel graph (took %v, %s)",
|
||||
time.Since(startTime), graphCache.Stats())
|
||||
|
||||
store.setGraphCache(graphCache)
|
||||
|
||||
return &ChannelGraph{
|
||||
KVStore: store,
|
||||
graphCache: graphCache,
|
||||
|
Reference in New Issue
Block a user