lntest: always turn off gossip throttling for nodes created in itests

This commit is contained in:
Olaoluwa Osuntokun 2020-11-29 16:14:00 -08:00
parent 13a2598ded
commit 447c9f2c0b
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306

View File

@ -255,6 +255,7 @@ func (cfg NodeConfig) genArgs() []string {
args = append(args, fmt.Sprintf("--invoicemacaroonpath=%v", cfg.InvoiceMacPath))
args = append(args, fmt.Sprintf("--trickledelay=%v", trickleDelay))
args = append(args, fmt.Sprintf("--profile=%d", cfg.ProfilePort))
args = append(args, fmt.Sprintf("--protocol.legacy.no-gossip-throttle"))
if !cfg.HasSeed {
args = append(args, "--noseedbackup")