capitalisk-dex 18.2.2 → 18.3.0
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
|
@@ -2822,6 +2822,12 @@ module.exports = class CapitaliskDEXModule {
|
|
|
2822
2822
|
},
|
|
2823
2823
|
...extraTransferData
|
|
2824
2824
|
};
|
|
2825
|
+
// In case this is a single-member market, signature quota could be met instantly.
|
|
2826
|
+
let signatureQuota = this._getSignatureQuota(targetChain, preparedTxn);
|
|
2827
|
+
if (signatureQuota >= 0) {
|
|
2828
|
+
transfer.readyTimestamp = now;
|
|
2829
|
+
transfer.multisigBroadcastTimestamp = now + this.multisigReadyDelay;
|
|
2830
|
+
}
|
|
2825
2831
|
this.pendingTransfers.set(preparedTxn.id, transfer);
|
|
2826
2832
|
}
|
|
2827
2833
|
|