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…
Reference in New Issue
Block a user