Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Conversation

GHesericsu
Copy link

No description provided.

@GHesericsu
Copy link
Author

@DonnySolana This should be good. Let me know. Thanks.

signature = await sendTransaction(transation, connection);

// Send transaction and await for signature
await connection.confirmTransaction({ signature, ...latestBlockhash }, 'confirmed');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You added a new .confirmTransaction below, so you no longer need this one.

Suggested change
await connection.confirmTransaction({ signature, ...latestBlockhash }, 'confirmed');

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants