Fix typos
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user