Commit 8edfbee9 authored by duanjinfei's avatar duanjinfei

fix sign count

parent 0fcee114
...@@ -29,7 +29,7 @@ func startTest() { ...@@ -29,7 +29,7 @@ func startTest() {
SendTxAccountArr = tool.ReadExcelOfStartEnd(startCount, endCount, cfg.StorageAccFileName) SendTxAccountArr = tool.ReadExcelOfStartEnd(startCount, endCount, cfg.StorageAccFileName)
log.Infof("Program start initAccCount:%d tranCount", len(SendTxAccountArr)) log.Infof("Program start initAccCount:%d tranCount", len(SendTxAccountArr))
cfg.GoRoutineCount = goRoutineCount cfg.GoRoutineCount = goRoutineCount
cfg.SignCount = txCount / 100 cfg.SignCount = txCount / len(SendTxAccountArr)
cfg.BatchCount = batchCount cfg.BatchCount = batchCount
err, syncMap := transaction.InitAccNonce(SendTxAccountArr, cfg) err, syncMap := transaction.InitAccNonce(SendTxAccountArr, cfg)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment