lnd: correct docs in WatchNewChannel
This commit is contained in:
parent
3eb53467e0
commit
7db7c9c493
4
lnd.go
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{}{}
|
||||
|
Loading…
Reference in New Issue
Block a user