From 67e279ee875d8a7e02c52c66d553c0cc463b1458 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 29 Jul 2021 17:01:32 -0500 Subject: [PATCH] chore: remove unused imports --- examples/client/client/tasks.nim | 2 +- examples/client/client/waku_chat2.nim | 6 +++--- status/accounts/generator/generator.nim | 5 ++--- status/tokens.nim | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/examples/client/client/tasks.nim b/examples/client/client/tasks.nim index 476768c..884327d 100644 --- a/examples/client/client/tasks.nim +++ b/examples/client/client/tasks.nim @@ -9,7 +9,7 @@ import # vendor libs import # status libs ../../status/accounts/[accounts, public_accounts], ../../status/[alias, conversions, client, database, protocol], - ../../status/extkeys/[paths, types] + ../../status/extkeys/types import # client libs ./events, ./waku_chat2 diff --git a/examples/client/client/waku_chat2.nim b/examples/client/client/waku_chat2.nim index 965752c..3782d01 100644 --- a/examples/client/client/waku_chat2.nim +++ b/examples/client/client/waku_chat2.nim @@ -4,9 +4,9 @@ import # std libs import # vendor libs bearssl, chronicles, chronos, chronos/apps/http/httpclient, eth/keys, libp2p/[crypto/crypto, crypto/secp, multiaddress, muxers/muxer, peerid, - peerinfo, protobuf/minprotobuf, protocols/protocol, - protocols/secure/secio, stream/connection, switch], - nimcrypto/[pbkdf2, utils], + peerinfo, protobuf/minprotobuf, protocols/protocol, stream/connection, + switch], + nimcrypto/utils, stew/[byteutils, endians2, results], waku/common/utils/nat, waku/v2/node/[waku_payload, wakunode2], diff --git a/status/accounts/generator/generator.nim b/status/accounts/generator/generator.nim index 30783bd..536881f 100644 --- a/status/accounts/generator/generator.nim +++ b/status/accounts/generator/generator.nim @@ -1,13 +1,12 @@ import # std libs - std/[json, os, strformat, strutils, sugar, tables, times] + std/[json, os, strformat, strutils, tables, times] import # vendor libs eth/keys, eth/keyfile/[keyfile, uuid], json_serialization, secp256k1, stew/results, web3/ethtypes import # status libs - ./account, ../../conversions, ../../extkeys/[hdkey, mnemonic, types], - ../public_accounts, ./utils + ./account, ../../conversions, ../../extkeys/[hdkey, mnemonic, types], ./utils export utils diff --git a/status/tokens.nim b/status/tokens.nim index ee3982d..c131bea 100644 --- a/status/tokens.nim +++ b/status/tokens.nim @@ -1,10 +1,10 @@ import # nim libs - json, options, strutils, strformat + json, options, strformat import # vendor libs web3/ethtypes, sqlcipher, json_serialization, - json_serialization/[reader, writer, lexer] + json_serialization/[reader, writer] import # status libs conversions