Fix test description

This commit is contained in:
Simon Warta 2020-02-11 23:45:06 +01:00
parent 41ede3605e
commit e2340ba0c1

View File

@ -7,7 +7,7 @@ const { fromBase64 } = Encoding;
describe("pubkey", () => {
describe("encodeSecp256k1Pubkey", () => {
it("encodes a full signature", () => {
it("encodes a compresed pubkey", () => {
const pubkey = fromBase64("AtQaCqFnshaZQp6rIkvAPyzThvCvXSDO+9AzbxVErqJP");
expect(encodeSecp256k1Pubkey(pubkey)).toEqual({
type: "tendermint/PubKeySecp256k1",