Skip to content

Commit

Permalink
remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Feb 9, 2024
1 parent 4158849 commit 0317d58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libp2p/errors.nim
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ macro checkFutures*[F](futs: seq[F], exclude: untyped = []): untyped =
debug "A future has failed, enable trace logging for details", error=exc.name
trace "Exception details", msg=exc.msg

proc allFuturesThrowing*[F: FutureBase](args: varargs[F]): Future[void] =
var futs: seq[F]
proc allFuturesThrowing*[T](args: varargs[Future[T]]): Future[void] =
var futs: seq[Future[T]]
for fut in args:
futs &= fut
proc call() {.async.} =
Expand Down
3 changes: 1 addition & 2 deletions libp2p/protocols/pubsub/pubsubpeer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import rpc/[messages, message, protobuf],
../../stream/connection,
../../crypto/crypto,
../../protobuf/minprotobuf,
../../utility,
../../utils/future
../../utility

export peerid, connection, deques

Expand Down

0 comments on commit 0317d58

Please sign in to comment.