Skip to content

Commit

Permalink
lint and style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nil-amrutlal committed Jan 23, 2024
1 parent 1f124f7 commit e313ce3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export async function simulateCoin({
}
accounts.push(account);

appendToLogFile(filepath, {
await appendToLogFile(filepath, {
timestamp: Date.now(),
from: defaultAccount.account,
to: account.account,
Expand Down Expand Up @@ -255,7 +255,7 @@ export async function simulateCoin({
}
}

appendToLogFile(filepath, {
await appendToLogFile(filepath, {
timestamp: Date.now(),
from: account.account,
to: nextAccount.account,
Expand All @@ -278,7 +278,7 @@ export async function simulateCoin({
}
} catch (error) {
console.error(error);
appendToLogFile(filepath, { error });
await appendToLogFile(filepath, { error });
throw error;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getBalance } from '@kadena/client-utils/coin';
import { genKeyPair } from '@kadena/cryptography-utils';
import type { ChainId } from '@kadena/types';
import seedrandom from 'seedrandom';
import type { IAccount} from '../../../constants/devnets.js';
import type { IAccount } from '../../../constants/devnets.js';
import { simulationDefaults } from '../../../constants/devnets.js';

export const generateAccount = async (
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/kadena-cli/src/utils/simulationOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Option } from 'commander';
import { z } from 'zod';
import { createOption } from './createOption.js';

import { ChainId } from '@kadena/types';
import type { ChainId } from '@kadena/types';
import { simulate as simulationPrompts } from '../prompts/index.js';
export const simulationOptions = {
//Simulation
Expand Down

0 comments on commit e313ce3

Please sign in to comment.