瀏覽代碼

Remove unneeded initialisation of mutex

Gustav Simonsson 10 年之前
父節點
當前提交
23f2658091
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      accounts/account_manager.go

+ 0 - 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
 }