lnd: correct docs in WatchNewChannel

This commit is contained in:
Conner Fromknecht 2018-03-31 00:45:35 -07:00
parent 3eb53467e0
commit 7db7c9c493
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

4
lnd.go

@ -433,8 +433,8 @@ func lndMain() error {
WatchNewChannel: func(channel *channeldb.OpenChannel,
addr *lnwire.NetAddress) error {
// First, we'll mark this new peer as a persistent
// re-connection purposes.
// First, we'll mark this new peer as a persistent peer
// for re-connection purposes.
server.mu.Lock()
pubStr := string(addr.IdentityKey.SerializeCompressed())
server.persistentPeers[pubStr] = struct{}{}