Update mainchain_monitor.nim (#1945)

Make it clear that this failure concerns the eth1 chain
This commit is contained in:
Sacha Saint-Leger 2020-11-02 21:16:24 +01:00 committed by GitHub
parent eef31e53cb
commit 9255945fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -694,7 +694,7 @@ proc start(m: MainchainMonitor, delayBeforeStart: Duration) =
if runFut.failed:
if runFut.error[] of CatchableError:
if runFut == m.runFut:
error "Mainchain monitor failure, restarting", err = runFut.error.msg
error "Eth1 chain monitoring failure, restarting", err = runFut.error.msg
m.stop()
m.start(5.seconds)
else: