lnd: correct docs in WatchNewChannel

This commit is contained in:
Conner Fromknecht committed 2018-03-31 02:00:06 -07:00
1 parent 3eb53467e0
commit 7db7c9c493
1 file changed
+2 -2
+2 -2
View File
@@ -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{}{}