Skip to content

Commit

Permalink
Merge pull request #40 from MyTonSwap/develop
Browse files Browse the repository at this point in the history
Fix valid until bug in creating transaction
  • Loading branch information
Ho3einWave authored Jan 11, 2025
2 parents d434f0c + bd9bf2e commit e931b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils/swap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default async function swap(
tonconnect
.sendTransaction({
messages: messages,
validUntil: Date.now() + 1000 * 60 * 60 * 24 - 1000,
validUntil: Date.now() + 1000 * 60 * 60 * 12 - 1000,
})
.then((result) => {
const cell = Cell.fromBoc(Buffer.from(result.boc, 'base64'))[0];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mytonswap/widget",
"description": "MyTonSwap Widget - Easy to use swap widget for React on TON Blockchain",
"version": "2.0.29",
"version": "2.0.30",
"type": "module",
"author": {
"name": "MyTonSwap",
Expand Down

0 comments on commit e931b0d

Please sign in to comment.