mirror of
https://github.com/status-im/status-go.git
synced 2025-02-16 16:56:53 +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.ShhextConfig.BandwidthStatsEnabled = request.BandwidthStatsEnabled
|
||||
|
||||
b.overrideNetworks(b.config, request)
|
||||
|
||||
err = b.setupLogSettings()
|
||||
|
@ -11,6 +11,7 @@ type Login struct {
|
||||
KdfIterations int `json:"kdfIterations"`
|
||||
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
||||
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
||||
BandwidthStatsEnabled bool `json:"bandwidthStatsEnabled"`
|
||||
|
||||
WalletSecretsConfig
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user