mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-03-02 17:10:44 +00:00
remove unnecessary change
This commit is contained in:
parent
4158849521
commit
0317d589ce
@ -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
|
debug "A future has failed, enable trace logging for details", error=exc.name
|
||||||
trace "Exception details", msg=exc.msg
|
trace "Exception details", msg=exc.msg
|
||||||
|
|
||||||
proc allFuturesThrowing*[F: FutureBase](args: varargs[F]): Future[void] =
|
proc allFuturesThrowing*[T](args: varargs[Future[T]]): Future[void] =
|
||||||
var futs: seq[F]
|
var futs: seq[Future[T]]
|
||||||
for fut in args:
|
for fut in args:
|
||||||
futs &= fut
|
futs &= fut
|
||||||
proc call() {.async.} =
|
proc call() {.async.} =
|
||||||
|
@ -19,8 +19,7 @@ import rpc/[messages, message, protobuf],
|
|||||||
../../stream/connection,
|
../../stream/connection,
|
||||||
../../crypto/crypto,
|
../../crypto/crypto,
|
||||||
../../protobuf/minprotobuf,
|
../../protobuf/minprotobuf,
|
||||||
../../utility,
|
../../utility
|
||||||
../../utils/future
|
|
||||||
|
|
||||||
export peerid, connection, deques
|
export peerid, connection, deques
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user