1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00

Fix not update behavior seed

This commit is contained in:
Shelikhoo 2020-06-02 18:01:43 +08:00
parent 5e59534333
commit 944c45a776
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -130,7 +130,7 @@ func (v *TimedUserValidator) Add(u *protocol.MemoryUser) error {
if v.behaviorFused == false {
account := uu.user.Account.(*MemoryAccount)
crc64.Update(v.behaviorSeed, crc64.MakeTable(crc64.ECMA), account.ID.Bytes())
v.behaviorSeed = crc64.Update(v.behaviorSeed, crc64.MakeTable(crc64.ECMA), account.ID.Bytes())
}
return nil