mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
lncfg: fix gossip.pinned-syncers flag description
The gossip.pinned-syncers flag is declared as a string slice which means it should not be a comma separated list of elements but the flag should be specified multiple times instead.
This commit is contained in:
parent
71fc52dfe3
commit
542bbbbc30
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
//nolint:lll
|
//nolint:lll
|
||||||
type Gossip struct {
|
type Gossip struct {
|
||||||
PinnedSyncersRaw []string `long:"pinned-syncers" description:"A set of peers that should always remain in an active sync state, which can be used to closely synchronize the routing tables of two nodes. The value should be comma separated list of hex-encoded pubkeys. Connected peers matching this pubkey will remain active for the duration of the connection and not count towards the NumActiveSyncer count."`
|
PinnedSyncersRaw []string `long:"pinned-syncers" description:"A set of peers that should always remain in an active sync state, which can be used to closely synchronize the routing tables of two nodes. The value should be a hex-encoded pubkey, the flag can be specified multiple times to add multiple peers. Connected peers matching this pubkey will remain active for the duration of the connection and not count towards the NumActiveSyncer count."`
|
||||||
|
|
||||||
PinnedSyncers discovery.PinnedSyncers
|
PinnedSyncers discovery.PinnedSyncers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user