mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-04 02:43:56 +00:00
Remove unneeded initialisation of mutex
This commit is contained in:
parent
d1311c53ee
commit
23f2658091
@ -60,7 +60,6 @@ func NewAccountManager(keyStore crypto.KeyStore2, unlockMilliseconds time.Durati
|
||||
keyStore: keyStore,
|
||||
unlockedKeys: keysMap,
|
||||
unlockMilliseconds: unlockMilliseconds,
|
||||
mutex: sync.RWMutex{}, // for accessing unlockedKeys map
|
||||
}
|
||||
return *am
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user