Skip to content

Commit 13bc8f8

Browse files
authored
Fix typos in coins and encoding utility comments (#1709)
* Update coins.ts * Update encoding.ts
1 parent af47f4f commit 13bc8f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/amino/src/coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface Coin {
1212
* you can use the number type here. This is the case for all typical Cosmos SDK
1313
* chains that use the default 6 decimals.
1414
*
15-
* In case you need to supportr larger values, use unsigned integer strings instead.
15+
* In case you need to support larger values, use unsigned integer strings instead.
1616
*/
1717
export function coin(amount: number | string, denom: string): Coin {
1818
let outAmount: string;

packages/amino/src/encoding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function decodeAminoPubkey(data: Uint8Array): Pubkey {
9191

9292
/**
9393
* Decodes a bech32 pubkey to Amino binary, which is then decoded to a type/value object.
94-
* The bech32 prefix is ignored and discareded.
94+
* The bech32 prefix is ignored and discarded.
9595
*
9696
* @param bechEncoded the bech32 encoded pubkey
9797
*/

0 commit comments

Comments
 (0)