Skip to content

Commit

Permalink
refactor: remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-r4bbit committed Jul 2, 2020
1 parent 6683313 commit 63d9ee7
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
3 changes: 0 additions & 3 deletions config.nims
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
when defined(macosx):
import algorithm, strutils

if defined(release):
switch("nimcache", "nimcache/release/$projectName")
else:
Expand Down
2 changes: 1 addition & 1 deletion src/status/chat.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/status/ens.nim
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
4 changes: 2 additions & 2 deletions src/status/libstatus/stickers.nim
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/status/libstatus/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ type
to*: string

type
RpcException* = object of Exception
RpcException* = object of CatchableError

type Sticker* = object
hash*: string
Expand Down
2 changes: 1 addition & 1 deletion src/status/libstatus/wallet.nim
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/status/wallet/balance_manager.nim
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 63d9ee7

Please sign in to comment.