mirror of https://github.com/ethereum/go-ethereum
core: use sync.Once for SenderCacher initialization (#31029)
This changes the SenderCacher so its goroutines will only be started on first use. Avoids starting them when package core is just imported but core.BlockChain isn't used.pull/31037/head
parent
9b68875d68
commit
9e4f08c25d
Loading…
Reference in new issue