Skip to content

Commit 802c129

Browse files
chore: fix some minor issues in comments (#2693)
Signed-off-by: houpo-bob <houpocun@outlook.com> Co-authored-by: Ryan Lee <ryan@parity.io>
1 parent 50022a3 commit 802c129

File tree

2 files changed

+3
-3
lines changed
  • packages/light-client-extension-helpers/src/tx-helper/polkadot-api/tx-helper

2 files changed

+3
-3
lines changed

packages/light-client-extension-helpers/src/tx-helper/polkadot-api/tx-helper/tx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const createTxEntry = <
166166
block: atBlock,
167167
})),
168168
)
169-
: throwError(() => new Error(`Uknown block ${at}`)),
169+
: throwError(() => new Error(`Unknown block ${at}`)),
170170
),
171171
)
172172
}

packages/light-client-extension-helpers/src/tx-helper/polkadot-api/tx-helper/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export type InnerTransaction<
271271
/**
272272
* Estimate fees against the latest known `finalizedBlock`
273273
*
274-
* @param from Public key or address from the potencial sender.
274+
* @param from Public key or address from the potential sender.
275275
* @param txOptions Optionally pass any number of txOptions.
276276
* @returns Fees in fundamental units.
277277
*/
@@ -282,7 +282,7 @@ export type InnerTransaction<
282282
/**
283283
* Payment info against the latest known `finalizedBlock`
284284
*
285-
* @param from Public key or address from the potencial sender.
285+
* @param from Public key or address from the potential sender.
286286
* @param txOptions Optionally pass any number of txOptions.
287287
* @returns PaymentInfo for the given transaction (weight, estimated fees
288288
* and class).

0 commit comments

Comments
 (0)