Linting errors

pull/836/head
ak 6 years ago
parent b8d20236b3
commit 0dac42a78d
  1. 2
      cmd/client/txgen/main.go
  2. 2
      node/node_syncing.go

@ -40,7 +40,7 @@ var (
) )
const ( const (
checkFrequency = 5 //checkfrequency checks whether the transaction generator is ready to send the next batch of transactions. checkFrequency = 2 //checkfrequency checks whether the transaction generator is ready to send the next batch of transactions.
) )
// Settings is the settings for TX generation. No Cross-Shard Support! // Settings is the settings for TX generation. No Cross-Shard Support!

@ -40,7 +40,7 @@ func (node *Node) getNeighborPeers(neighbor *sync.Map) []p2p.Peer {
return tmp return tmp
} }
// GetSync gets sync-ed to blockchain without joining consensus // DoSyncWithoutConsensus gets sync-ed to blockchain without joining consensus
func (node *Node) DoSyncWithoutConsensus() { func (node *Node) DoSyncWithoutConsensus() {
go node.DoSyncing(node.blockchain, node.Worker, node.GetSyncingPeers, false) //Don't join consensus go node.DoSyncing(node.blockchain, node.Worker, node.GetSyncingPeers, false) //Don't join consensus
} }

Loading…
Cancel
Save