refactor protos

This commit is contained in:
Darien Raymond committed 2016-10-12 18:43:55 +02:00
1 parent c1f91567ad
commit fc6a706166
44 files changed
+331 -313

No files matched your search

+1 -1
View File
@@ -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())
}