mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-07 23:48:36 +00:00
Remove unneeded initialisation of mutex
This commit is contained in:
parent
d1311c53ee
commit
23f2658091
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue