mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-06 18:26:47 -05:00
fix lint warnings
This commit is contained in:
parent
c68da6a0e8
commit
7d1426ff7f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user