@triadxyz/triad-protocol 2.0.5-beta → 2.0.6-beta
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/dist/trade.js +1 -1
- package/package.json +1 -1
package/dist/trade.js
CHANGED
|
@@ -571,7 +571,7 @@ class Trade {
|
|
|
571
571
|
let linkedSellerBidTradePDA = null;
|
|
572
572
|
if (order.linkedBidOrderId !== '0') {
|
|
573
573
|
const userOrders = yield this.getUserOrders(new web3_js_1.PublicKey(order.authority));
|
|
574
|
-
|
|
574
|
+
linkedSellerBidTradePDA = (0, pda_1.getUserTradePDA)(this.program.programId, new web3_js_1.PublicKey(order.authority));
|
|
575
575
|
const linkedBidOrder = userOrders.find((item) => item.orderId === order.linkedBidOrderId &&
|
|
576
576
|
item.marketId === marketId.toString());
|
|
577
577
|
if (!linkedBidOrder) {
|