Fix typos

This commit is contained in:
Simon Warta
2021-03-23 13:37:26 +01:00
parent e0716fac21
commit 2655531891
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import {
describe("encoding", () => {
describe("encodeSecp256k1Pubkey", () => {
it("encodes a compresed pubkey", () => {
it("encodes a compressed pubkey", () => {
const pubkey = fromBase64("AtQaCqFnshaZQp6rIkvAPyzThvCvXSDO+9AzbxVErqJP");
expect(encodeSecp256k1Pubkey(pubkey)).toEqual({
type: "tendermint/PubKeySecp256k1",
+1 -1
View File
@@ -60,7 +60,7 @@ describe("multisig", () => {
expect(createMultisigThresholdPubkey([test3, test1], 2, true)).toEqual(testgroup4);
});
it("throws for threshold lager than number of keys", () => {
it("throws for threshold larger than number of keys", () => {
expect(() => createMultisigThresholdPubkey([test1, test2, test3], 5)).toThrowError(
/threshold k = 5 exceeds number of keys n = 3/i,
);