Make linter happy
This commit is contained in:
parent
006494e441
commit
ffda6e2baf
@ -1,4 +1,4 @@
|
||||
/* eslint-disable require-atomic-updates */
|
||||
// tslint:disable: no-object-mutation
|
||||
import { UserProfile } from "@iov/keycontrol";
|
||||
import { MultiChainSigner } from "@iov/multichain";
|
||||
import cors = require("@koa/cors");
|
||||
|
||||
@ -30,6 +30,7 @@ export async function accountsOfFirstChain(
|
||||
const addresses = identitiesOfFirstWallet(profile).map(identity => signer.identityToAddress(identity));
|
||||
const chainId = signer.chainIds()[0];
|
||||
|
||||
// tslint:disable-next-line: readonly-array
|
||||
const out: Account[] = [];
|
||||
for (const address of addresses) {
|
||||
const response = await signer.connection(chainId).getAccount({ address: address });
|
||||
@ -108,6 +109,7 @@ export async function refillFirstChain(
|
||||
const availableTokens = availableTokensFromHolder(holderAccount);
|
||||
console.info("Available tokens:", availableTokens);
|
||||
|
||||
// tslint:disable-next-line: readonly-array
|
||||
const jobs: SendJob[] = [];
|
||||
|
||||
for (const token of availableTokens) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user