Skip to content

Commit

Permalink
fix denomination passing to sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
NickJ202 committed Jan 7, 2025
1 parent bb7dd04 commit ad481b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@othent/kms": "^1.0.7",
"@permaweb/aoconnect": "^0.0.45",
"@permaweb/stampjs": "^1.0.3",
"@permaweb/ucm": "0.0.3",
"@permaweb/ucm": "0.0.4",
"async-lock": "^1.4.1",
"jwt-decode": "^4.0.0",
"nprogress": "^0.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ export default function AssetActionMarketOrders(props: IProps) {
quantity: transferQuantity,
};

if (unitPrice) data.unitPrice = unitPrice;
if (denomination) data.denomination = unitPrice;
if (unitPrice) data.unitPrice = unitPrice.toString();
if (denomination && denomination > 1) data.denomination = denomination.toString();

const orderId = await createOrder(
data,
Expand Down

0 comments on commit ad481b2

Please sign in to comment.