diff --git a/Bin/Light/Tera-light.zip b/Bin/Light/Tera-light.zip index d6a95b8..dd97ad4 100644 Binary files a/Bin/Light/Tera-light.zip and b/Bin/Light/Tera-light.zip differ diff --git a/Bin/Light/tera_light_setup.exe b/Bin/Light/tera_light_setup.exe index c5e5207..52767a4 100644 Binary files a/Bin/Light/tera_light_setup.exe and b/Bin/Light/tera_light_setup.exe differ diff --git a/Source/core/constant.js b/Source/core/constant.js index d90e67f..848c822 100644 --- a/Source/core/constant.js +++ b/Source/core/constant.js @@ -8,7 +8,7 @@ * Telegram: https://t.me/terafoundation */ -global.UPDATE_CODE_VERSION_NUM = 1019; +global.UPDATE_CODE_VERSION_NUM = 1020; global.MIN_CODE_VERSION_NUM = 992; global.MINING_VERSION_NUM = 3; global.InitParamsArg = InitParamsArg; diff --git a/Source/core/server.js b/Source/core/server.js index 2d10305..cd44a86 100644 --- a/Source/core/server.js +++ b/Source/core/server.js @@ -1097,10 +1097,7 @@ module.exports = class CTransport extends require("./connect") ToLogClient("Run TCP server on " + SELF.ip + ":" + SELF.port) SELF.CanSend++ var Hash; - if(GetCurrentBlockNumByTime() >= NEW_SIGN_TIME) - Hash = sha3(SELF.addrStr) - else - Hash = shaarr(SELF.addrStr) + Hash = shaarr(SELF.addrStr) SELF.ServerSign = secp256k1.sign(Buffer.from(Hash), SELF.KeyPair.getPrivateKey('')).signature }) }