|
@@ -300,11 +300,15 @@ async function withdraw_task() {
|
|
|
//是否是黑名单
|
|
|
var isBlackList = await remote_config_db.isBlackList('withdraw', exec_obj.chain, exec_obj.receiver)
|
|
|
if (isBlackList) {
|
|
|
- logger.error('collect_conis_task isBlackList', JSON.stringify(exec_obj));
|
|
|
+ var update_obj = {}
|
|
|
+ update_obj.withdraw_status = 3
|
|
|
+ update_obj.errorMsg = 'blackList'
|
|
|
+ await withdraw_db.update_withdraw_task(exec_obj.withdraw_id, update_obj)
|
|
|
+ logger.error('withdraw_task isBlackList', JSON.stringify(exec_obj));
|
|
|
continue
|
|
|
}
|
|
|
} catch (error) {
|
|
|
- logger.error('collect_conis_task isBlackList error', JSON.stringify(exec_obj));
|
|
|
+ logger.error('withdraw_task isBlackList error', JSON.stringify(exec_obj));
|
|
|
}
|
|
|
|
|
|
|