Commit fb368723 authored by Mymskmkt's avatar Mymskmkt Committed by Péter Szilágyi

core: fix comment typo (#17376)

parent 6d1e292e
...@@ -22,7 +22,7 @@ import ( ...@@ -22,7 +22,7 @@ import (
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"
) )
// senderCacher is a concurrent tranaction sender recoverer anc cacher. // senderCacher is a concurrent transaction sender recoverer anc cacher.
var senderCacher = newTxSenderCacher(runtime.NumCPU()) var senderCacher = newTxSenderCacher(runtime.NumCPU())
// txSenderCacherRequest is a request for recovering transaction senders with a // txSenderCacherRequest is a request for recovering transaction senders with a
...@@ -45,7 +45,7 @@ type txSenderCacher struct { ...@@ -45,7 +45,7 @@ type txSenderCacher struct {
} }
// newTxSenderCacher creates a new transaction sender background cacher and starts // newTxSenderCacher creates a new transaction sender background cacher and starts
// as many procesing goroutines as allowed by the GOMAXPROCS on construction. // as many processing goroutines as allowed by the GOMAXPROCS on construction.
func newTxSenderCacher(threads int) *txSenderCacher { func newTxSenderCacher(threads int) *txSenderCacher {
cacher := &txSenderCacher{ cacher := &txSenderCacher{
tasks: make(chan *txSenderCacherRequest, threads), tasks: make(chan *txSenderCacherRequest, threads),
......
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