lnd: update peer+fundingManager due to channeldb field rename

This commit is contained in:
Olaoluwa Osuntokun committed 2016-10-25 16:44:18 -07:00
1 parent e1d9d9c8d2
commit 290ea7ba5d
2 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ func newPeer(conn net.Conn, server *server, btcNet wire.BitcoinNet, inbound bool
// Fetch and then load all the active channels we have with this
// remote peer from the database.
activeChans, err := server.chanDB.FetchOpenChannels(&p.lightningID)
activeChans, err := server.chanDB.FetchOpenChannels(p.identityPub)
if err != nil {
peerLog.Errorf("unable to fetch active chans "+
"for peer %v: %v", p, err)