Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait until transactions are confirmed, not merely sent.
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.
- Loading branch information