Attempt to fix the failing tests in CI

This commit is contained in:
Zahary Karadjov 2019-11-14 14:12:00 +00:00 committed by zah
parent 7617e293a9
commit acd490916f
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ proc p2pProtocolBackendImpl*(p: P2PProtocol): Backend =
msg.defineThunk quote do: msg.defineThunk quote do:
proc `thunkName`(`daemonVar`: `DaemonAPI`, proc `thunkName`(`daemonVar`: `DaemonAPI`,
`streamVar`: `P2PStream`) {.async, gcsafe.} = `streamVar`: `P2PStream`) {.async, gcsafe.} =
when `msgNameLit` == "beaconBlocksByRange": when `msgNameLit` == "beaconBlocksByRange" and chronicles.runtimeFilteringEnabled:
setLogLevel(LogLevel.TRACE) setLogLevel(LogLevel.TRACE)
defer: setLogLevel(LogLevel.DEBUG) defer: setLogLevel(LogLevel.DEBUG)
trace "incoming beaconBlocksByRange stream" trace "incoming beaconBlocksByRange stream"