fundingmanager+lnd: remove no longer needed FindPeer and SendToPeer

callbacks

The FindPeer and SendToPeer callbacks are no longer needed within the
fundingManager due to the previous commit allowing us to send messages
to peers directly.
This commit is contained in:
Wilmer Paulino committed 2018-07-19 12:34:12 -07:00
1 parent 9cedef9245
commit 38e01b259f
2 files changed
-12

No files matched your search

-2
View File
@@ -360,9 +360,7 @@ func lndMain() error {
idPrivKey.PubKey())
return <-errChan
},
SendToPeer: server.SendToPeer,
NotifyWhenOnline: server.NotifyWhenOnline,
FindPeer: server.FindPeer,
TempChanIDSeed: chanIDSeed,
FindChannel: func(chanID lnwire.ChannelID) (*lnwallet.LightningChannel, error) {
dbChannels, err := chanDB.FetchAllChannels()