From c8b4d7bbab12f4bb0271badcd960bd615bf8f176 Mon Sep 17 00:00:00 2001 From: Minh Doan Date: Wed, 12 Sep 2018 15:20:44 -0700 Subject: [PATCH] fix styling format for client code --- client/txgen/main.go | 2 +- client/utils.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/txgen/main.go b/client/txgen/main.go index 030da3a30..59c96971a 100644 --- a/client/txgen/main.go +++ b/client/txgen/main.go @@ -95,7 +95,7 @@ func generateSimulatedTransactions(subsetId, numSubset int, shardId int, dataNod txInfo.txCount = 0 UTXOLOOP: - // Loop over all addresses + // Loop over all addresses for address, txMap := range dataNodes[shardId].UtxoPool.UtxoMap { if int(binary.BigEndian.Uint32(address[:]))%numSubset == subsetId%numSubset { // Work on one subset of utxo at a time txInfo.address = address diff --git a/client/utils.go b/client/utils.go index ee9c4730f..ce7e0911e 100644 --- a/client/utils.go +++ b/client/utils.go @@ -2,12 +2,12 @@ package client import ( "bytes" - "github.com/simple-rules/harmony-benchmark/crypto/pki" "io" "log" "net/http" "sync" + "github.com/simple-rules/harmony-benchmark/crypto/pki" ) var AddressToIntPriKeyMap map[[20]byte]int // For convenience, we use int as the secret seed for generating private key