Skip to content

Commit

Permalink
up version and debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglescode committed Mar 25, 2024
1 parent ecfbf23 commit 5623ef2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/demo/components/pages/contracts/vesting/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ function Demo() {
quantity: '10000000',
};

const lockUntilTimeStamp = new Date().getFullYear() + 1;
const lockUntilTimeStamp = new Date();
lockUntilTimeStamp.setFullYear(lockUntilTimeStamp.getFullYear() + 1);

const beneficiary =
'addr_test1qqnnkc56unmkntvza0x70y65s3fs5awdpks7wpr4yu0mqm5vldqg2n2p8y4kyjm8sqfyg0tpq9042atz0fr8c3grjmys2gv2h5';
Expand All @@ -165,7 +166,7 @@ function Demo() {

const tx = await contract.depositFund(
[asset],
lockUntilTimeStamp,
lockUntilTimeStamp.getTime(),
beneficiary,
networkId
);
Expand Down
2 changes: 1 addition & 1 deletion packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Rapidly build Web3 apps on the Cardano Blockchain.",
"homepage": "https://meshjs.dev",
"author": "MeshJS",
"version": "1.5.11-beta.6",
"version": "1.5.12",
"license": "Apache-2.0",
"type": "module",
"repository": {
Expand Down

0 comments on commit 5623ef2

Please sign in to comment.