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