Skip to content

Commit 208feb9

Browse files
committed
fix allFuturesThrowing compilation issue on daily
1 parent fe4ff79 commit 208feb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libp2p/errors.nim

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

0 commit comments

Comments
 (0)