Skip to content

Commit

Permalink
Merge branch 'main' into feat/ton-api-example
Browse files Browse the repository at this point in the history
  • Loading branch information
heyOnuoha committed Oct 16, 2024
2 parents f5eff23 + f8bceea commit ba38509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/swaps-api-nextjs-tron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swaps-api-nextjs-tron",
"demo": "https://swaps-api-nextjs-solana.vercel.app/",
"demo": "https://swaps-api-nextjs-tron.vercel.app/",
"keywords": [
"api",
"swaps",
Expand Down
2 changes: 1 addition & 1 deletion examples/swaps-api-nextjs-tron/src/components/Swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ const Swap = () => {
// Broadcasting the transaction
const broadcast =
await window?.tronLink?.tronWeb.trx.sendRawTransaction(signedTx);
console.log(`broadcast: ${broadcast?.result}`);
console.log(`broadcast: ${broadcast?.result}`, signedTx.txID);

return signedTx.txID as string;
} catch (error) {
Expand Down

0 comments on commit ba38509

Please sign in to comment.