Merge pull request #4526 from Roasbeef/db-split-peer-fix

lnd: properly pass peer remote db for graph, local db for rest
This commit is contained in:
Conner Fromknecht 2020-08-12 17:49:46 -07:00 committed by GitHub
commit 927f0989a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2853,8 +2853,8 @@ func (s *server) peerConnected(conn net.Conn, connReq *connmgr.ConnReq,
ReadPool: s.readPool,
Switch: s.htlcSwitch,
InterceptSwitch: s.interceptableSwitch,
ChannelDB: s.localChanDB,
ChannelGraph: s.remoteChanDB.ChannelGraph(),
ChannelDB: s.remoteChanDB,
ChannelGraph: s.localChanDB.ChannelGraph(),
ChainArb: s.chainArb,
AuthGossiper: s.authGossiper,
ChanStatusMgr: s.chanStatusMgr,