Remove unneeded initialisation of mutex

This commit is contained in:
Gustav Simonsson 2015-02-25 19:30:57 +01:00
parent d1311c53ee
commit 23f2658091

View File

@ -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
} }