Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait until transactions are confirmed, not merely sent. #448

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ke6jjj
Copy link
Contributor

@ke6jjj ke6jjj commented Feb 4, 2025

Use send_and_confirm_transaction instead of send_transaction_with_config as the former only returns once the transaction has been confirmed (via the "finalized" strategy) or has timed out. The latter method only sends the transaction in the hopes that it will be confirmed, which, during periods of high congestion, isn't a secure strategy.

Use `send_and_confirm_transaction` instead of `send_transaction_with_config`
as the former only returns once the transaction has been confirmed
(via the "finalized" strategy) or has timed out. The latter method only
sends the transaction in the _hopes_ that it will be confirmed, which, during
periods of high congestion, isn't a secure strategy.
helium-wallet/src/cmd/mod.rs Show resolved Hide resolved
helium-wallet/src/cmd/mod.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants