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

sdk: add option to throw on tx send errors #1370

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

wphan
Copy link
Member

@wphan wphan commented Dec 10, 2024

Allows user to specify whether the underlying tx sender should throw if sendTransaction results in a tx error. Currently it does for types like the while-valid sender (new default is yes). Setting throwOnTransactionError in the constructor allows user to disable this behavior

@wphan wphan merged commit eaa7aeb into master Dec 10, 2024
9 of 11 checks passed
@wphan wphan deleted the wphan/sdk_tx_sender_throw_option branch December 10, 2024 18:54
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.

1 participant