nodejs-pool
nodejs-pool copied to clipboard
Fix for undefined error in updateBlockHeader
Tried to make a PR, but don't have contributor permission.
Change the following line in worker.js(448) from
else if (body.result.block_header.hash === lastBlockHash) {
to
else if (body.result && body.result.block_header.hash === lastBlockHash) {
Anyone can make PR. Thanks for your suggestion.