aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/account_manager.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-02-26 02:30:57 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-02-26 02:30:57 +0800
commit23f265809170fae044be12851f5591f55495003a (patch)
treeb2ca4c88ea2577cfee63b7a9bfa1ac09830dd79b /accounts/account_manager.go
parentd1311c53eee916ae8472a3b7eaf40b5e94f7675f (diff)
downloaddexon-23f265809170fae044be12851f5591f55495003a.tar.gz
dexon-23f265809170fae044be12851f5591f55495003a.tar.zst
dexon-23f265809170fae044be12851f5591f55495003a.zip
Remove unneeded initialisation of mutex
Diffstat (limited to 'accounts/account_manager.go')
-rw-r--r--accounts/account_manager.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/accounts/account_manager.go b/accounts/account_manager.go
index 38dd6f736..90fed1343 100644
--- a/accounts/account_manager.go
+++ b/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
}