From 7d1426ff7fb15d0704e7027285a25fef89ca9b79 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 27 Dec 2016 21:34:14 +0100 Subject: [PATCH] fix lint warnings --- proxy/vmess/account.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/vmess/account.go b/proxy/vmess/account.go index eaac2f30..dede2dc0 100644 --- a/proxy/vmess/account.go +++ b/proxy/vmess/account.go @@ -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 }