Skip to content

Commit d708b6a

Browse files
authored
Fix Typos in Comments and Documentation (#1677)
* Update karma.conf.js * Update responses.ts * Update utf8.ts
1 parent 93e094a commit d708b6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/encoding/src/utf8.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function toUtf8(str: string): Uint8Array {
1616
* Takes UTF-8 data and decodes it to a string.
1717
*
1818
* In lossy mode, the [REPLACEMENT CHARACTER](https://en.wikipedia.org/wiki/Specials_(Unicode_block))
19-
* is used to substitude invalid encodings.
19+
* is used to substitute invalid encodings.
2020
* By default lossy mode is off and invalid data will lead to exceptions.
2121
*/
2222
export function fromUtf8(data: Uint8Array, lossy = false): string {

packages/tendermint-rpc/src/tendermint37/adaptor/responses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ interface RpcBlock {
778778
/** Raw tx bytes, base64 encoded */
779779
readonly txs?: readonly string[];
780780
};
781-
// It's currently unclear why the deep nesting is requied.
781+
// It's currently unclear why the deep nesting is required.
782782
// See https://github.com/tendermint/tendermint/issues/7697.
783783
readonly evidence?: {
784784
readonly evidence?: readonly RpcEvidence[];

0 commit comments

Comments
 (0)