From 92a68108a697198e02328fcdfb026b59042605ea Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 8 Aug 2022 13:21:06 +0800 Subject: [PATCH] fix bug --- pkg/common/db/rocks_cache/rocks_cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/rocks_cache/rocks_cache.go b/pkg/common/db/rocks_cache/rocks_cache.go index 1304aeedf..99e1fbb2d 100644 --- a/pkg/common/db/rocks_cache/rocks_cache.go +++ b/pkg/common/db/rocks_cache/rocks_cache.go @@ -402,7 +402,7 @@ func GetGroupMemberListHashFromCache(groupID string) (uint64, error) { all += v } bi := big.NewInt(0) - bi.SetString(utils.Md5(all)[0:8], 16) + bi.SetString(utils.Md5(all)[0:8], 10) return strconv.Itoa(int(bi.Uint64())), nil } hashCode, err := db.DB.Rc.Fetch(groupMemberListHashCache+groupID, time.Second*30*60, generateHash)