mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-12-03 07:44:44 +00:00
refactor protos
This commit is contained in:
44 files changed
+331
-313
No files matched your search
@@ -77,7 +77,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
|
||||
if err := json.Unmarshal(rawData, user); err != nil {
|
||||
return errors.New("VMess|Inbound: Invalid user: " + err.Error())
|
||||
}
|
||||
account := new(vmess.AccountPB)
|
||||
account := new(vmess.Account)
|
||||
if err := json.Unmarshal(rawData, account); err != nil {
|
||||
return errors.New("VMess|Inbound: Invalid user: " + err.Error())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user