1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

fix lint warnings

This commit is contained in:
Darien Raymond 2016-12-27 21:34:14 +01:00
parent c68da6a0e8
commit 7d1426ff7f
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -35,10 +35,10 @@ func (v *Account) AsAccount() (protocol.Account, error) {
log.Error("VMess: Failed to parse ID: ", err)
return nil, err
}
protoId := protocol.NewID(id)
protoID := protocol.NewID(id)
return &InternalAccount{
ID: protoId,
AlterIDs: protocol.NewAlterIDs(protoId, uint16(v.AlterId)),
ID: protoID,
AlterIDs: protocol.NewAlterIDs(protoID, uint16(v.AlterId)),
Security: v.SecuritySettings.AsSecurity(),
}, nil
}