Skip to content

Commit

Permalink
fix: bond proof fix
Browse files Browse the repository at this point in the history
  • Loading branch information
damienen committed Apr 29, 2024
1 parent b08238a commit 307d8fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "3.3.0-alpha.3",
"version": "3.3.0-alpha.4",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
3 changes: 2 additions & 1 deletion src/bond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
ContractFunction,
IAddress,
ResultsParser,
StringValue,
TokenIdentifierValue,
Transaction,
TypedValue,
Expand Down Expand Up @@ -1195,7 +1196,7 @@ export class BondContract extends Contract {
.addArg(new TokenIdentifierValue(payment.tokenIdentifier))
.addArg(new U64Value(payment.nonce))
.addArg(new BigUIntValue(payment.amount))
.setFunction('proof')
.addArg(new StringValue('proof'))
.build();

const proofTx = new Transaction({
Expand Down

0 comments on commit 307d8fc

Please sign in to comment.