Skip to content

Commit fa76cbc

Browse files
authored
fix typos in documentation and comments (cosmos#1668)
* Update README.md * Update responses.ts * Update omitdefault.ts
1 parent 9327a82 commit fa76cbc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/amino/src/omitdefault.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Returns the given input. If the input is the default value
3-
* of protobuf, undefined is retunred. Use this when creating Amino JSON converters.
3+
* of protobuf, undefined is returned. Use this when creating Amino JSON converters.
44
*/
55
export function omitDefault<T extends string | number | bigint | boolean>(input: T): T | undefined {
66
switch (typeof input) {

packages/tendermint-rpc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This package provides a type-safe wrapper around
66
[Tendermint RPC](https://docs.tendermint.com/master/rpc/). Notably, all binary
7-
data is passed in and out as `Uint8Array`, and this module is reponsible for the
7+
data is passed in and out as `Uint8Array`, and this module is responsible for the
88
hex/base64 encoding/decoding depending on the field and version of Tendermint.
99
Also handles converting numbers to and from strings.
1010

packages/tendermint-rpc/src/comet38/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)