fix call to callback

pull/1/head
yann300 7 years ago
parent 3e97e7ae81
commit 9252ec5644
  1. 3
      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 })
})
}
}

Loading…
Cancel
Save