aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_cacher.go
diff options
context:
space:
mode:
authorMymskmkt <1847234666@qq.com>2018-08-13 16:40:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-13 16:40:52 +0800
commitfb368723acf83e64c71e1eaa403e7cda06e6ce5e (patch)
tree4aa036499fbca8361f4cca2ae9c16fc0c218934c /core/tx_cacher.go
parent6d1e292eefa70b5cb76cd03ff61fc6c4550d7c36 (diff)
downloadgo-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.tar
go-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.tar.gz
go-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.tar.bz2
go-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.tar.lz
go-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.tar.xz
go-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.tar.zst
go-tangerine-fb368723acf83e64c71e1eaa403e7cda06e6ce5e.zip
core: fix comment typo (#17376)
Diffstat (limited to 'core/tx_cacher.go')
-rw-r--r--core/tx_cacher.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tx_cacher.go b/core/tx_cacher.go
index 6d989c83d..bcaa5ead3 100644
--- a/core/tx_cacher.go
+++ b/core/tx_cacher.go
@@ -22,7 +22,7 @@ import (
"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())
// txSenderCacherRequest is a request for recovering transaction senders with a
@@ -45,7 +45,7 @@ type txSenderCacher struct {
}
// 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 {
cacher := &txSenderCacher{
tasks: make(chan *txSenderCacherRequest, threads),