all: replace RWMutex with Mutex in places where RLock is not used (#21622)
This commit is contained in:
@ -35,7 +35,7 @@ type lesTxRelay struct {
|
||||
txPending map[common.Hash]struct{}
|
||||
peerList []*serverPeer
|
||||
peerStartPos int
|
||||
lock sync.RWMutex
|
||||
lock sync.Mutex
|
||||
stop chan struct{}
|
||||
|
||||
retriever *retrieveManager
|
||||
|
Reference in New Issue
Block a user