From acd490916f5dca7c3a6f2c88ff1a7bc56b04506a Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Thu, 14 Nov 2019 14:12:00 +0000 Subject: [PATCH] Attempt to fix the failing tests in CI --- beacon_chain/libp2p_daemon_backend.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/libp2p_daemon_backend.nim b/beacon_chain/libp2p_daemon_backend.nim index a88084157..a91ee9688 100644 --- a/beacon_chain/libp2p_daemon_backend.nim +++ b/beacon_chain/libp2p_daemon_backend.nim @@ -590,7 +590,7 @@ proc p2pProtocolBackendImpl*(p: P2PProtocol): Backend = msg.defineThunk quote do: proc `thunkName`(`daemonVar`: `DaemonAPI`, `streamVar`: `P2PStream`) {.async, gcsafe.} = - when `msgNameLit` == "beaconBlocksByRange": + when `msgNameLit` == "beaconBlocksByRange" and chronicles.runtimeFilteringEnabled: setLogLevel(LogLevel.TRACE) defer: setLogLevel(LogLevel.DEBUG) trace "incoming beaconBlocksByRange stream"