Format code

This commit is contained in:
Simon Warta 2020-01-23 17:20:17 +01:00
parent be1eb6f72f
commit c428e40e79
3 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ import { CosmosBech32Prefix, isValidAddress, pubkeyToAddress } from "./address";
import { Caip5 } from "./caip5";
import { parseTx } from "./decode";
import { buildSignedTx, buildUnsignedTx } from "./encode";
import { TokenInfos, nonceToAccountNumber, nonceToSequence } from "./types";
import { nonceToAccountNumber, nonceToSequence, TokenInfos } from "./types";
const { toHex, toUtf8 } = Encoding;

View File

@ -17,7 +17,7 @@ import { HdPaths, Secp256k1HdWallet, UserProfile } from "@iov/keycontrol";
import { CosmosBech32Prefix } from "./address";
import { CosmosCodec, cosmosCodec } from "./cosmoscodec";
import { CosmosConnection } from "./cosmosconnection";
import { TokenInfos, nonceToSequence } from "./types";
import { nonceToSequence, TokenInfos } from "./types";
const { fromBase64, toHex } = Encoding;

View File

@ -19,6 +19,7 @@ import {
Nonce,
PostableBytes,
PostTxResponse,
PubkeyBundle,
PubkeyBytes,
PubkeyQuery,
Token,
@ -27,9 +28,8 @@ import {
TransactionQuery,
TransactionState,
UnsignedTransaction,
PubkeyBundle,
} from "@iov/bcp";
import { Encoding, Uint53, Bech32 } from "@iov/encoding";
import { Bech32, Encoding, Uint53 } from "@iov/encoding";
import { DefaultValueProducer, ValueAndUpdates } from "@iov/stream";
import equal from "fast-deep-equal";
import { ReadonlyDate } from "readonly-date";
@ -39,7 +39,7 @@ import { CosmosBech32Prefix, decodeCosmosAddress, pubkeyToAddress } from "./addr
import { Caip5 } from "./caip5";
import { decodeAmount, parseTxsResponse } from "./decode";
import { RestClient, TxsResponse } from "./restclient";
import { TokenInfos, accountToNonce } from "./types";
import { accountToNonce, TokenInfos } from "./types";
const { fromBase64 } = Encoding;