From 0dac42a78dac20b5fc657204b520bb978c92f619 Mon Sep 17 00:00:00 2001 From: ak Date: Wed, 15 May 2019 18:00:03 -0700 Subject: [PATCH] Linting errors --- cmd/client/txgen/main.go | 2 +- node/node_syncing.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/client/txgen/main.go b/cmd/client/txgen/main.go index 4846be811..20c0ec7ad 100644 --- a/cmd/client/txgen/main.go +++ b/cmd/client/txgen/main.go @@ -40,7 +40,7 @@ var ( ) 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! diff --git a/node/node_syncing.go b/node/node_syncing.go index f3090f4ea..f990dbeca 100644 --- a/node/node_syncing.go +++ b/node/node_syncing.go @@ -40,7 +40,7 @@ func (node *Node) getNeighborPeers(neighbor *sync.Map) []p2p.Peer { return tmp } -// GetSync gets sync-ed to blockchain without joining consensus +// DoSyncWithoutConsensus gets sync-ed to blockchain without joining consensus func (node *Node) DoSyncWithoutConsensus() { go node.DoSyncing(node.blockchain, node.Worker, node.GetSyncingPeers, false) //Don't join consensus }