diff --git a/src/execution-context.js b/src/execution-context.js index 77c2ea86d0..c157eea1fc 100644 --- a/src/execution-context.js +++ b/src/execution-context.js @@ -117,8 +117,9 @@ function ExecutionContext () { if (block && block.hash !== mainNetGenesisHash) name = 'Custom' callback(err, { id, name }) }) + } else { + callback(err, { id, name }) } - callback(err, { id, name }) }) } }