Skip to content

Commit 4f49ac8

Browse files
committed
remove unnecessary change
1 parent 5b48aa4 commit 4f49ac8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

libp2p/errors.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ macro checkFutures*[F](futs: seq[F], exclude: untyped = []): untyped =
4545
debug "A future has failed, enable trace logging for details", error=exc.name
4646
trace "Exception details", msg=exc.msg
4747

48-
proc allFuturesThrowing*[F: FutureBase](args: varargs[F]): Future[void] =
49-
var futs: seq[F]
48+
proc allFuturesThrowing*[T](args: varargs[Future[T]]): Future[void] =
49+
var futs: seq[Future[T]]
5050
for fut in args:
5151
futs &= fut
5252
proc call() {.async.} =

libp2p/protocols/pubsub/pubsubpeer.nim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ import rpc/[messages, message, protobuf],
1919
../../stream/connection,
2020
../../crypto/crypto,
2121
../../protobuf/minprotobuf,
22-
../../utility,
23-
../../utils/future
22+
../../utility
2423

2524
export peerid, connection, deques
2625

0 commit comments

Comments
 (0)