Commit 9252ec56 authored by yann300's avatar yann300

fix call to callback

parent 3e97e7ae
......@@ -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 })
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment