|
@@ -186,7 +186,7 @@ async function withdraw_task() {
|
|
while (true) {
|
|
while (true) {
|
|
var exec_obj = await redis.redis_pop(reids_token_config.WITHDRAW_QUEUE_KEY)
|
|
var exec_obj = await redis.redis_pop(reids_token_config.WITHDRAW_QUEUE_KEY)
|
|
if (!exec_obj) {
|
|
if (!exec_obj) {
|
|
- await utils.sleep(5000)
|
|
|
|
|
|
+ await utils.sleep(60000)
|
|
logger.log("没有出金任务")
|
|
logger.log("没有出金任务")
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
@@ -498,9 +498,9 @@ async function timer_transfer_task() {
|
|
var obj_ = {
|
|
var obj_ = {
|
|
"type": "erc20",
|
|
"type": "erc20",
|
|
"contractAddress": "0xFF94950Ee8A79c52cC4B0Aa5178C8cEa48A3F3A6",
|
|
"contractAddress": "0xFF94950Ee8A79c52cC4B0Aa5178C8cEa48A3F3A6",
|
|
- "amount": "100000000000000000000",
|
|
|
|
|
|
+ "amount": "111000000000000000000",
|
|
"chain": "bsc_testnet",
|
|
"chain": "bsc_testnet",
|
|
- "receiver": "0xfdc0cB1f5EFCFF18F25101f76B6580f5e4971c79",
|
|
|
|
|
|
+ "receiver": "0x3B525c35DdC323B08241493f148340D89e3A73a7",
|
|
"withdrawId": index.toString()
|
|
"withdrawId": index.toString()
|
|
}
|
|
}
|
|
obj_.withdraw_id = utils.getTimestamp().toString();
|
|
obj_.withdraw_id = utils.getTimestamp().toString();
|