multi: fix linter errors
This commit is contained in:
parent
53500127e3
commit
fe0a7b6a09
@ -343,7 +343,7 @@ var (
|
||||
// TODO(roasbeef): extend and collapse these and chainparams.go into
|
||||
// struct like chaincfg.Params
|
||||
chainDNSSeeds = map[chainhash.Hash][]string{
|
||||
bitcoinGenesis: []string{
|
||||
bitcoinGenesis: {
|
||||
"nodes.lightning.directory",
|
||||
//"lseed.bitcoinstats.com",
|
||||
},
|
||||
|
@ -204,7 +204,7 @@ func (c *ChannelGraphBootstrapper) SampleNodeAddrs(numAddrs uint32,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
tries += 1
|
||||
tries++
|
||||
|
||||
// We'll now rotate our hash accumulator one value forwards.
|
||||
c.hashAccumulator = sha256.Sum256(c.hashAccumulator[:])
|
||||
|
@ -596,7 +596,7 @@ func (s *server) peerBootstrapper(numTargetPeers uint32,
|
||||
// Finally, we'll launch a new goroutine for each
|
||||
// prospective peer candidates.
|
||||
for _, addr := range peerAddrs {
|
||||
epochAttempts += 1
|
||||
epochAttempts++
|
||||
|
||||
go func(a *lnwire.NetAddress) {
|
||||
// TODO(roasbeef): can do AS, subnet,
|
||||
|
Loading…
Reference in New Issue
Block a user