Remove unneeded initialisation of mutex

pull/385/head
Gustav Simonsson 10 years ago
parent d1311c53ee
commit 23f2658091
  1. 1
      accounts/account_manager.go

@ -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…
Cancel
Save