Skip to content

Commit

Permalink
Merge pull request #2 from useverto/fix/price-type
Browse files Browse the repository at this point in the history
fix: remove price integer requirement
  • Loading branch information
t8 committed Oct 11, 2022
2 parents 342d46c + b489c2b commit a9b48fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/createOrder.ts
Expand Up @@ -49,7 +49,6 @@ export const CreateOrder = async (
price === undefined || price === null || price > 0,
"Price must be greater than 0"
);
ContractAssert(Number.isInteger(price), "Price must be an integer");
}

if (!Number.isInteger(qty) || qty === undefined) {
Expand Down

0 comments on commit a9b48fc

Please sign in to comment.