Skip to content

Commit

Permalink
update contract data building #2
Browse files Browse the repository at this point in the history
  • Loading branch information
rsalakhov committed Oct 19, 2023
1 parent 309258e commit a0ec14c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrumlabs/cardano-dex-sdk",
"version": "0.1.226",
"version": "0.1.227",
"description": "ErgoDEX SDK for Cardano",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/amm/contractData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function mkAssetClass(ac: AssetClass, R: CardanoWasm): PlutusData {
'old: ',
new TextEncoder().encode(ac.name)
)
assetClass.add(R.PlutusData.new_bytes(R.AssetName.from_hex(ac.nameHex).name())
assetClass.add(R.PlutusData.new_bytes(R.AssetName.from_hex(ac.nameHex).name()))
return mkPlutusData(assetClass, R)
}

Expand Down

0 comments on commit a0ec14c

Please sign in to comment.