Skip to content

Commit

Permalink
refactor: change param type in sendAndConfirmRawTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
GHesericsu committed Dec 19, 2022
1 parent 9ce0478 commit c1aabdf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web3.js/src/utils/send-and-confirm-raw-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {
BlockheightBasedTransactionConfirmationStrategy,
Connection,
DurableNonceTransactionConfirmationStrategy,
TransactionConfirmationStrategy} from '../connection';
TransactionConfirmationStrategy,
} from '../connection';
import type {TransactionSignature} from '../transaction';
import type {ConfirmOptions} from '../connection';

Expand All @@ -15,14 +16,14 @@ import type {ConfirmOptions} from '../connection';
*
* @param {Connection} connection
* @param {Buffer} rawTransaction
* @param {BlockheightBasedTransactionConfirmationStrategy} confirmationStrategy
* @param {TransactionConfirmationStrategy} confirmationStrategy
* @param {ConfirmOptions} [options]
* @returns {Promise<TransactionSignature>}
*/
export async function sendAndConfirmRawTransaction(
connection: Connection,
rawTransaction: Buffer,
confirmationStrategy: BlockheightBasedTransactionConfirmationStrategy,
confirmationStrategy: TransactionConfirmationStrategy,
options?: ConfirmOptions,
): Promise<TransactionSignature>;

Expand Down

0 comments on commit c1aabdf

Please sign in to comment.