fix styling format for client code

pull/69/head
Minh Doan 6 years ago
parent c1368df687
commit c8b4d7bbab
  1. 2
      client/txgen/main.go
  2. 2
      client/utils.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

@ -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

Loading…
Cancel
Save