@theliem/xmarket-sdk 4.2.1 → 4.2.2
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/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2146,7 +2146,8 @@ ${logs.join("\n")}`);
|
|
|
2146
2146
|
{ pubkey: noStatus, isSigner: false, isWritable: true }
|
|
2147
2147
|
);
|
|
2148
2148
|
}
|
|
2149
|
-
|
|
2149
|
+
const hasFee = yesSigned.order.fee.gtn(0) || noMakers.some((m) => m.order.fee.gtn(0));
|
|
2150
|
+
if (hasFee && this.programIds.feeManagement && this.feeConfigOwner) {
|
|
2150
2151
|
const companyAddr = await this.companyAddress();
|
|
2151
2152
|
const refVault = await this.referralVault();
|
|
2152
2153
|
if (companyAddr && refVault) {
|