mirror of
https://github.com/status-im/status-go.git
synced 2025-02-20 02:38:13 +00:00
fix_: add missing message verification flag when creating an account (#5570)
This commit is contained in:
parent
72baaebe39
commit
3792d37df4
@ -141,6 +141,7 @@ func SetFleet(fleet string, nodeConfig *params.NodeConfig) error {
|
||||
// mobile may need override following options
|
||||
LightClient: specifiedWakuV2Config.LightClient,
|
||||
EnableStoreConfirmationForMessagesSent: specifiedWakuV2Config.EnableStoreConfirmationForMessagesSent,
|
||||
EnableMissingMessageVerification: specifiedWakuV2Config.EnableMissingMessageVerification,
|
||||
Nameserver: specifiedWakuV2Config.Nameserver,
|
||||
}
|
||||
|
||||
@ -303,6 +304,10 @@ func defaultNodeConfig(installationID string, request *requests.CreateAccount, o
|
||||
nodeConfig.WakuV2Config.LightClient = true
|
||||
}
|
||||
|
||||
if request.WakuV2EnableMissingMessageVerification {
|
||||
nodeConfig.WakuV2Config.EnableMissingMessageVerification = true
|
||||
}
|
||||
|
||||
if request.WakuV2EnableStoreConfirmationForMessagesSent {
|
||||
nodeConfig.WakuV2Config.EnableStoreConfirmationForMessagesSent = true
|
||||
}
|
||||
|
@ -52,6 +52,7 @@ type CreateAccount struct {
|
||||
WakuV2Nameserver *string `json:"wakuV2Nameserver"`
|
||||
WakuV2LightClient bool `json:"wakuV2LightClient"`
|
||||
WakuV2EnableStoreConfirmationForMessagesSent bool `json:"wakuV2EnableStoreConfirmationForMessagesSent"`
|
||||
WakuV2EnableMissingMessageVerification bool `json:"wakuV2EnableMissingMessageVerification"`
|
||||
WakuV2Fleet string `json:"wakuV2Fleet"`
|
||||
|
||||
LogLevel *string `json:"logLevel"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user