Skip to content

improve(TransactionClient): Avoid using txnClient.submit() directly#3204

Open
nicholaspai wants to merge 4 commits intomasterfrom
avoid-txn-client-submit
Open

improve(TransactionClient): Avoid using txnClient.submit() directly#3204
nicholaspai wants to merge 4 commits intomasterfrom
avoid-txn-client-submit

Conversation

@nicholaspai
Copy link
Copy Markdown
Member

The TransactionClient.submit() is not designed for general use because it can return undefined rather than throw if a txn succeeds which is usually not the caller's intuition. submitTransaction should be used instead.

The TransactionClient.submit() is not designed for general use because it can return undefined rather than throw if a txn succeeds which is usually not the caller's intuition. `submitTransaction` should be used instead.
Comment thread src/utils/TransactionUtils.ts
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