diff --git a/common/antireplay/bloomring.go b/common/antireplay/bloomring.go index 0e0406189..50fbbffec 100644 --- a/common/antireplay/bloomring.go +++ b/common/antireplay/bloomring.go @@ -1,8 +1,9 @@ package antireplay import ( - ss_bloomring "github.com/v2fly/ss-bloomring" "sync" + + ss_bloomring "github.com/v2fly/ss-bloomring" ) type BloomRing struct { diff --git a/proxy/shadowsocks/config.go b/proxy/shadowsocks/config.go index 45105fd21..470e8028c 100644 --- a/proxy/shadowsocks/config.go +++ b/proxy/shadowsocks/config.go @@ -6,13 +6,13 @@ import ( "crypto/cipher" "crypto/md5" "crypto/sha1" - "github.com/v2fly/v2ray-core/v4/common/antireplay" "io" "golang.org/x/crypto/chacha20poly1305" "golang.org/x/crypto/hkdf" "github.com/v2fly/v2ray-core/v4/common" + "github.com/v2fly/v2ray-core/v4/common/antireplay" "github.com/v2fly/v2ray-core/v4/common/buf" "github.com/v2fly/v2ray-core/v4/common/crypto" "github.com/v2fly/v2ray-core/v4/common/protocol"