Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cjkoepke committed Sep 17, 2024
1 parent a253614 commit 579c0b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/blaze-sdk/src/blaze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ export class Blaze<ProviderType extends Provider, WalletType extends Wallet> {
* @description This method sends the provided transaction to the blockchain network
* using the configured wallet, or the configured provider if set.
*/
async submitTransaction(tx: Transaction, useProvider?: boolean): Promise<TransactionId> {
return useProvider ? this.provider.postTransactionToChain(tx) : this.wallet.postTransaction(tx);
async submitTransaction(
tx: Transaction,
useProvider?: boolean,
): Promise<TransactionId> {
return useProvider
? this.provider.postTransactionToChain(tx)
: this.wallet.postTransaction(tx);
}
}

0 comments on commit 579c0b6

Please sign in to comment.