File tree 1 file changed +6
-6
lines changed
packages/beacon-node/src/node
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ export async function runNodeNotifier(modules: NodeNotifierModules): Promise<voi
54
54
const clockSlot = chain . clock . currentSlot ;
55
55
const clockEpoch = computeEpochAtSlot ( clockSlot ) ;
56
56
57
- if (
58
- clockEpoch >= config . BELLATRIX_FORK_EPOCH &&
59
- computeStartSlotAtEpoch ( clockEpoch ) === clockSlot &&
60
- chain . executionEngine . state === ExecutionEngineState . OFFLINE
61
- ) {
62
- logger . warn ( "Execution client is offline" ) ;
57
+ if ( clockEpoch >= config . BELLATRIX_FORK_EPOCH && computeStartSlotAtEpoch ( clockEpoch ) === clockSlot ) {
58
+ if ( chain . executionEngine . state === ExecutionEngineState . OFFLINE ) {
59
+ logger . warn ( "Execution client is offline" ) ;
60
+ } else if ( chain . executionEngine . state === ExecutionEngineState . AUTH_FAILED ) {
61
+ logger . error ( "Execution client authentication failed. Verify if the JWT secret matches on both clients" ) ;
62
+ }
63
63
}
64
64
65
65
const headInfo = chain . forkChoice . getHead ( ) ;
You can’t perform that action at this time.
0 commit comments