mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 14:22:26 +08:00
优化代码
This commit is contained in:
@@ -457,7 +457,6 @@ func (k *KcpConnectManager) getPlayerToken(req *proto.GetPlayerTokenReq, session
|
||||
serverSeedUint64 := timeRand.Uint64()
|
||||
session.seed = serverSeedUint64
|
||||
if req.KeyId != 0 {
|
||||
logger.Debug("do hk4e 2.8 rsa logic, uid: %v", uid)
|
||||
session.useMagicSeed = true
|
||||
keyId := strconv.Itoa(int(req.KeyId))
|
||||
encPubPrivKey, exist := k.encRsaKeyMap[keyId]
|
||||
|
||||
Reference in New Issue
Block a user