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()
|
||||
|
|
|
@ -8,9 +8,10 @@ type Login struct {
|
|||
Password string `json:"password"`
|
||||
KeyUID string `json:"keyUid"`
|
||||
|
||||
KdfIterations int `json:"kdfIterations"`
|
||||
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
||||
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
||||
KdfIterations int `json:"kdfIterations"`
|
||||
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
||||
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
||||
BandwidthStatsEnabled bool `json:"bandwidthStatsEnabled"`
|
||||
|
||||
WalletSecretsConfig
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue