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

fix: typos in documentation files #526

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sdk/src/mempool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const REGTEST_MEMPOOL_BASE_PATH = 'http://localhost:3003';
/**
* @ignore
*/
export type MempoolRecomendedFee = {
export type MempoolRecommendedFee = {
fastestFee: number;
halfHourFee: number;
hourFee: number;
Expand Down Expand Up @@ -76,7 +76,7 @@ export class MempoolClient {
* in a longer period (low priority).
* - `minimumFee`: The lowest fee rate that is still accepted by miners.
*
* @returns {Promise<MempoolRecomendedFee>} A promise that resolves to an object containing
* @returns {Promise<MempoolRecommendedFee>} A promise that resolves to an object containing
* the recommended fees for various confirmation times.
*
* @example
Expand All @@ -85,8 +85,8 @@ export class MempoolClient {
* .then(fees => console.log(fees))
* .catch(error => console.error('Failed to fetch fees:', error));
*/
async getRecommendedFees(): Promise<MempoolRecomendedFee> {
return this.getJson<MempoolRecomendedFee>(`${this.basePath}/fees/recommended`);
async getRecommendedFees(): Promise<MempoolRecommendedFee> {
return this.getJson<MempoolRecommendedFee>(`${this.basePath}/fees/recommended`);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/wallet/utxo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export function getInputFromUtxoAndTx(
addressType: AddressType,
publicKey?: string
): Input {
// The output containts the necessary details to spend the UTXO based on the script type
// The output contains the necessary details to spend the UTXO based on the script type
// Under the hood, @scure/btc-signer parses the output and extracts the script and amount
const output = transaction.getOutput(utxo.vout);

Expand Down