Skip to content

Commit

Permalink
v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ktcunreal committed Feb 26, 2022
1 parent 444f0b5 commit 3ccacc8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions server/encrypt/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,5 @@ func Abs(i int) int {

func Chunk() int {
mr.Seed(time.Now().UnixNano())
c, x := 16384, mr.Intn(512)
if mr.Intn(2) == 0 {
c += x
} else {
c -= x
}
return c
return 16384 - mr.Intn(8192)
}

0 comments on commit 3ccacc8

Please sign in to comment.