[skip ci] remove an unused variable

This commit is contained in:
Zahary Karadjov 2022-07-15 00:34:04 +03:00
parent d4bafdf5a4
commit 798fa69647
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 0 additions and 1 deletions

View File

@ -31,7 +31,6 @@ template firstSuccessTimeout*(vc: ValidatorClientRef, respType: typedesc,
vc.onlineNodes()
except CancelledError as exc:
# waitOnlineNodes do not cancel `timoutFuture`.
var default: seq[BeaconNodeServerRef]
if not(isNil(timerFut)) and not(timerFut.finished()):
await timerFut.cancelAndWait()
raise exc