multi: fix linter errors

This commit is contained in:
Olaoluwa Osuntokun committed 2017-09-03 17:05:11 -07:00
1 parent 53500127e3
commit fe0a7b6a09
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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",
},
+1 -1
View File
@@ -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[:])
+1 -1
View File
@@ -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,