mirror of
https://github.com/status-im/status-go.git
synced 2025-01-13 16:16:18 +00:00
fix: remove unneeded lock
This commit is contained in:
parent
c531bf2ca1
commit
85ba54f24f
@ -710,8 +710,6 @@ func (b *GethStatusBackend) loadNodeConfig(inputNodeCfg *params.NodeConfig) erro
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (b *GethStatusBackend) saveNodeConfig(n *params.NodeConfig) error {
|
func (b *GethStatusBackend) saveNodeConfig(n *params.NodeConfig) error {
|
||||||
b.mu.Lock()
|
|
||||||
defer b.mu.Unlock()
|
|
||||||
err := nodecfg.SaveNodeConfig(b.appDB, n)
|
err := nodecfg.SaveNodeConfig(b.appDB, n)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user