From 7a6b1950216490f64d3e318a685fe83986cf1c80 Mon Sep 17 00:00:00 2001 From: andri lim Date: Wed, 27 Mar 2019 19:53:28 +0700 Subject: [PATCH] fix nimbus/premix appveyor build --- eth/p2p/rlpx.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/p2p/rlpx.nim b/eth/p2p/rlpx.nim index da0a697..99f3802 100644 --- a/eth/p2p/rlpx.nim +++ b/eth/p2p/rlpx.nim @@ -1121,7 +1121,7 @@ proc handshakeImpl[T](peer: Peer, sendFut: Future[void], responseFut: Future[T], timeout: Duration): Future[T] {.async.} = - sendFut.addCallback do (arg: pointer): + sendFut.addCallback do (arg: pointer) {.gcsafe.}: if sendFut.failed: debug "Handshake message not delivered", peer