Skip to content

Commit

Permalink
chore(ton): add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Sep 17, 2024
1 parent 2b62460 commit 284709c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/handler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ export async function listenEvents(
const [nonce, release] = await fetchNonce();
const [releaseStorage, storage] = await fetchStorage();
const feeData = await storageProvider.getFeeData();
log.info(`Using nonce: ${nonce}, txHash: ${inft.transactionHash}`);
log.info(
`Using nonce: ${nonce}, txHash: ${inft.transactionHash} ${new Date().getSeconds()} ${+new Date()}`,
);
const response = await (
await storage.approveLockNft(
inft.transactionHash,
Expand All @@ -144,7 +146,9 @@ export async function listenEvents(
},
)
).wait();
log.info(`Used nonce: ${nonce}, txHash: ${inft.transactionHash}`);
log.info(
`Used nonce: ${nonce}, txHash: ${inft.transactionHash} ${new Date().getSeconds()} ${+new Date()}`,
);
await setTimeout(5 * 1000);
release();
releaseStorage();
Expand Down

0 comments on commit 284709c

Please sign in to comment.