capitalisk-dex 17.1.0 → 17.1.1
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.
- package/index.js +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1440,6 +1440,9 @@ module.exports = class CapitaliskDEXModule {
|
|
|
1440
1440
|
let [inboundTxns, outboundTxns] = blockTransactions;
|
|
1441
1441
|
|
|
1442
1442
|
outboundTxns.forEach((txn) => {
|
|
1443
|
+
this.logger.debug(
|
|
1444
|
+
`Chain ${chainSymbol}: Observed outbound transfer ${txn.id} at height ${chainHeight}`
|
|
1445
|
+
);
|
|
1443
1446
|
let pendingTransfer = this.pendingTransfers.get(txn.id);
|
|
1444
1447
|
if (pendingTransfer) {
|
|
1445
1448
|
let recentTransfer = {...pendingTransfer, transaction: txn};
|
|
@@ -1450,6 +1453,9 @@ module.exports = class CapitaliskDEXModule {
|
|
|
1450
1453
|
this.recentTransfersSkipList.upsert(recentTransfer.timestamp, {[txn.id]: recentTransfer});
|
|
1451
1454
|
}
|
|
1452
1455
|
this.pendingTransfers.delete(txn.id);
|
|
1456
|
+
this.logger.debug(
|
|
1457
|
+
`Chain ${chainSymbol}: Removed pending transfer ${txn.id} from queue`
|
|
1458
|
+
);
|
|
1453
1459
|
}
|
|
1454
1460
|
});
|
|
1455
1461
|
|