Commit bca8d77d authored by duanjinfei's avatar duanjinfei

del time.sleep

parent 5952c08c
......@@ -59,10 +59,8 @@ func BroadcastTxArr(tranArr []*types.Transaction, cfg *tool.Config) error {
}
}
for {
time.Sleep(time.Second * 3)
log.Info("beforeBathHandleSendCount:", beforeBathHandleSendCount)
log.Infof("Send tran count: %d", bathHandleSendCount)
if bathHandleSendCount == allSignedTxCount {
log.Info("beforeBathHandleSendCount:", beforeBathHandleSendCount)
log.Infof("Send tran count: %d", bathHandleSendCount)
log.Infof("Since time: %d ms", time.Since(startTime).Milliseconds())
log.Infof("Send tran total time: %d ms", totalSendTime)
......
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