Fix lint error

This commit is contained in:
Ethan Frey 2020-02-05 10:23:08 +01:00
parent a2c14bb80b
commit 0f6721e5f4
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
import { Address, Algorithm, PubkeyBytes } from "@iov/bcp";
import { Algorithm, PubkeyBytes } from "@iov/bcp";
import { Encoding } from "@iov/encoding";
import { decodeCosmosPubkey, isValidAddress, pubkeyToAddress } from "./address";

View File

@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/camelcase */
import { types } from "@cosmwasm/sdk";
import { StdTx } from "@cosmwasm/sdk/types/types";
import { Address, Algorithm, TokenTicker } from "@iov/bcp";
import { Encoding } from "@iov/encoding";
@ -158,7 +157,7 @@ describe("decode", () => {
describe("parseTx", () => {
it("works", () => {
expect(parseTx(data.tx.value as StdTx, chainId, nonce, defaultTokens)).toEqual(signedTxJson);
expect(parseTx(data.tx.value as types.StdTx, chainId, nonce, defaultTokens)).toEqual(signedTxJson);
});
});

View File

@ -119,7 +119,7 @@ export interface PubKeySr25519 {
readonly value: string;
}
// Bech32PubKey is bech32-encoded amino-binary encoded PubKey interface. oof.
// bech32-encoded amino-binary encoded PubKey interface. oof.
export type Bech32PubKey = string;
export interface BaseAccount {