Commit cdb5c1a4 authored by duanjinfei's avatar duanjinfei

del sign tx time log priny

parent e27d3291
......@@ -136,7 +136,6 @@ func signedTxFunc() (*types.Transaction, error) {
for {
select {
case t := <-tran:
startTime := time.Now()
txData := types.LegacyTx{
Nonce: t.config.Nonce.Uint64(),
To: &t.receivedAddr,
......@@ -155,7 +154,6 @@ func signedTxFunc() (*types.Transaction, error) {
txcache.Add(signedTx.Hash().Hex(), t.sender.Hex())
tranArr = append(tranArr, signedTx)
atomic.AddInt32(&batchSignCount, 1)
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