diff --git a/codex/contracts/clock.nim b/codex/contracts/clock.nim index d80e2811..d4753fc1 100644 --- a/codex/contracts/clock.nim +++ b/codex/contracts/clock.nim @@ -2,7 +2,6 @@ import std/times import pkg/ethers import pkg/chronos import pkg/stint -import pkg/upraises import ../clock import ../conf diff --git a/codex/utils/asyncspawn.nim b/codex/utils/asyncspawn.nim index 6835a4fa..00906ccc 100644 --- a/codex/utils/asyncspawn.nim +++ b/codex/utils/asyncspawn.nim @@ -7,8 +7,3 @@ proc asyncSpawn*(future: Future[void], ignore: type CatchableError) = except ignore: discard asyncSpawn ignoringError() - -proc asyncSpawn*[T](future: Future[T]): void = - proc task() {.async.} = discard await future - asyncSpawn task() - diff --git a/codex/utils/json.nim b/codex/utils/json.nim index 7d4b3593..a8d49e8c 100644 --- a/codex/utils/json.nim +++ b/codex/utils/json.nim @@ -8,7 +8,6 @@ import pkg/codexdht/discv5/node as dn import pkg/serde/json import pkg/questionable/results import ../errors -import exceptions export json