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,
|
keyStore: keyStore,
|
||||||
unlockedKeys: keysMap,
|
unlockedKeys: keysMap,
|
||||||
unlockMilliseconds: unlockMilliseconds,
|
unlockMilliseconds: unlockMilliseconds,
|
||||||
mutex: sync.RWMutex{}, // for accessing unlockedKeys map
|
|
||||||
}
|
}
|
||||||
return *am
|
return *am
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user