mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 07:53:00 +02:00
chainntnfs+routing/chainview: reduce neutrino.WaitForMoreCFHeaders value
This commit reduces the neutrino.WaitForMoreCFHeaders parameter when instantiating a neutrino instance as a lower value will allow the tests to complete more quickly.
This commit is contained in:
@@ -497,7 +497,7 @@ var interfaceImpls = []struct {
|
||||
ConnectPeers: []string{p2pAddr},
|
||||
}
|
||||
|
||||
neutrino.WaitForMoreCFHeaders = time.Second * 1
|
||||
neutrino.WaitForMoreCFHeaders = 250 * time.Millisecond
|
||||
spvNode, err := neutrino.NewChainService(spvConfig)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
|
Reference in New Issue
Block a user