File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tendermint-rpc/src/tendermint37/adaptor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 */
2222export function fromUtf8 ( data : Uint8Array , lossy = false ) : string {
Original file line number Diff line number Diff 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 [ ] ;
You can’t perform that action at this time.
0 commit comments