mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
Update core/sender_cacher.go
Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
parent
7b948bf3c1
commit
e9b9afece4
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ var (
|
|||
// It leverages sync.Once to provide thread-safe lazy initialization.
|
||||
senderCacherOnce sync.Once
|
||||
// senderCacherInstance is a concurrent transaction sender recoverer and cacher.
|
||||
senderCacherInstance = newTxSenderCacher(runtime.NumCPU())
|
||||
senderCacherInstance *txSenderCacher
|
||||
)
|
||||
|
||||
// SenderCacher returns the singleton instance of SenderCacher.
|
||||
|
|
|
|||
Loading…
Reference in a new issue