mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
remove duplicate lock
This commit is contained in:
parent
4c9e7d1b18
commit
3a8c286bbc
1 changed files with 0 additions and 3 deletions
|
|
@ -438,9 +438,6 @@ func (pool *LegacyPool) SetGasTip(tip *big.Int) {
|
|||
// Nonce returns the next nonce of an account, with all transactions executable
|
||||
// by the pool already applied on top.
|
||||
func (pool *LegacyPool) Nonce(addr common.Address) uint64 {
|
||||
pool.mu.RLock()
|
||||
defer pool.mu.RUnlock()
|
||||
|
||||
return pool.pendingNonces.get(addr)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue