refactor: remove unused imports

This commit is contained in:
Pascal Precht 2020-06-26 10:56:31 +02:00 committed by Pascal Precht
parent 6683313c83
commit 63d9ee7201
7 changed files with 6 additions and 12 deletions

View File

@ -1,6 +1,3 @@
when defined(macosx):
import algorithm, strutils
if defined(release):
switch("nimcache", "nimcache/release/$projectName")
else:

View File

@ -3,7 +3,7 @@ import libstatus/chat as status_chat
import libstatus/stickers as status_stickers
import libstatus/types
import profile/profile
import chat/[chat, message], wallet
import chat/[chat, message]
import ../signals/messages
import ens
import eth/common/eth_types

View File

@ -1,15 +1,12 @@
import strutils
import profile/profile
import nimcrypto
import strmisc
import json
import strformat
import libstatus/core
import stew/byteutils
import sequtils
import unicode
import algorithm
import libstatus/settings as status_settings
let domain* = ".stateofus.eth"

View File

@ -1,6 +1,6 @@
import eth/common/eth_types
import ./core as status, ./types, ./contracts, ./settings, ./utils
import json, json_serialization, tables, chronicles, strutils, sequtils
import ./core as status, ./types, ./contracts, ./settings
import json, json_serialization, tables, strutils, sequtils
# Retrieves number of sticker packs owned by user
# See https://notes.status.im/Q-sQmQbpTOOWCQcYiXtf5g#Read-Sticker-Packs-owned-by-a-user

View File

@ -100,7 +100,7 @@ type
to*: string
type
RpcException* = object of Exception
RpcException* = object of CatchableError
type Sticker* = object
hash*: string

View File

@ -1,4 +1,4 @@
import json, httpclient, json, strformat, stint, strutils, sequtils, chronicles
import json, json, strformat, stint, strutils, chronicles
import libstatus, core, types
import ../wallet/account

View File

@ -1,4 +1,4 @@
import tables, strformat, strutils, stint, httpclient, json, times
import strformat, strutils, stint, httpclient, json
import ../libstatus/wallet as status_wallet
import ../libstatus/tokens as status_tokens
import ../utils/cache