mirror of
https://github.com/status-im/status-go.git
synced 2025-02-19 18:28:18 +00:00
feat_: added Login request BandwidthStatsEnabled flag (#5369)
This commit is contained in:
parent
83955bbc8a
commit
10cf286208
@ -644,6 +644,8 @@ func (b *GethStatusBackend) loginAccount(request *requests.Login) error {
|
|||||||
b.config.WakuV2Config.Nameserver = request.WakuV2Nameserver
|
b.config.WakuV2Config.Nameserver = request.WakuV2Nameserver
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b.config.ShhextConfig.BandwidthStatsEnabled = request.BandwidthStatsEnabled
|
||||||
|
|
||||||
b.overrideNetworks(b.config, request)
|
b.overrideNetworks(b.config, request)
|
||||||
|
|
||||||
err = b.setupLogSettings()
|
err = b.setupLogSettings()
|
||||||
|
@ -11,6 +11,7 @@ type Login struct {
|
|||||||
KdfIterations int `json:"kdfIterations"`
|
KdfIterations int `json:"kdfIterations"`
|
||||||
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
||||||
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
||||||
|
BandwidthStatsEnabled bool `json:"bandwidthStatsEnabled"`
|
||||||
|
|
||||||
WalletSecretsConfig
|
WalletSecretsConfig
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user