Commit c5684d48 authored by duanjinfei's avatar duanjinfei

add time print

parent 16b438fd
...@@ -154,7 +154,7 @@ func signedTxFunc() (*types.Transaction, error) { ...@@ -154,7 +154,7 @@ func signedTxFunc() (*types.Transaction, error) {
txcache.Add(signedTx.Hash().Hex(), t.sender.Hex()) txcache.Add(signedTx.Hash().Hex(), t.sender.Hex())
tranArr = append(tranArr, signedTx) tranArr = append(tranArr, signedTx)
atomic.AddInt32(&batchSignCount, 1) atomic.AddInt32(&batchSignCount, 1)
log.Info("Sign since time: %d ms", time.Since(startTime).Milliseconds()) log.Infof("Sign since time: %d ms", time.Since(startTime).Milliseconds())
} }
} }
} }
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