Commit 23f26580 authored by Gustav Simonsson's avatar Gustav Simonsson

Remove unneeded initialisation of mutex

parent d1311c53
...@@ -60,7 +60,6 @@ func NewAccountManager(keyStore crypto.KeyStore2, unlockMilliseconds time.Durati ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment