fix lint warnings

pull/255/merge
Darien Raymond 8 years ago
parent c68da6a0e8
commit 7d1426ff7f
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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…
Cancel
Save