@clonegod/ttd-core 2.0.93 → 2.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -42,7 +42,9 @@ class AbstractTransactionResultCheck {
|
|
|
42
42
|
}
|
|
43
43
|
check() {
|
|
44
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
-
this.
|
|
45
|
+
if (!this.order_msg.is_dex_maker) {
|
|
46
|
+
this.check_tx_result_interval();
|
|
47
|
+
}
|
|
46
48
|
this.on_subscibe_transaction();
|
|
47
49
|
});
|
|
48
50
|
}
|
|
@@ -107,7 +107,6 @@ const handle_order_message = (trade_appconfig, trade_instance, tx_result_checker
|
|
|
107
107
|
}
|
|
108
108
|
finally {
|
|
109
109
|
trade_appconfig.arb_cache.cache_order_message(Object.assign(Object.assign({}, order_msg), { order_submit_result })).then(res => {
|
|
110
|
-
(0, __1.log_info)(`cache order submit result, success`, { order_msg, order_submit_result, res });
|
|
111
110
|
}).catch(err => {
|
|
112
111
|
(0, __1.log_warn)('cache order submit result, error!', { order_msg, order_submit_result, err });
|
|
113
112
|
console.log(err);
|