apenft-js-tron 2.1.3-beta.5 → 2.1.4
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/src/utils/check.js +1 -1
- package/index.ts +1 -0
- package/package.json +1 -1
package/dist/src/utils/check.js
CHANGED
|
@@ -123,7 +123,7 @@ export async function checkOrder(contract, order) {
|
|
|
123
123
|
return true;
|
|
124
124
|
}
|
|
125
125
|
export async function checkMatchOrder(contract, buy, sell) {
|
|
126
|
-
const equalPrice =
|
|
126
|
+
const equalPrice = sell.basePrice.gte(buy.basePrice);
|
|
127
127
|
if (!equalPrice) {
|
|
128
128
|
throw new APENFTError({ code: '1201' });
|
|
129
129
|
}
|
package/index.ts
CHANGED