Skip to content
Permalink
Browse files

additional interrogation of response

  • Loading branch information
muscleman committed Dec 3, 2019
1 parent fa90a1c commit 36d1eeedc32d52141d28f49c503d32314fb8e56f
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/daemon.js
@@ -62,6 +62,11 @@ function runInterval(){
callback(null)
return
}
if (res.error) {
log('error', logSystem, 'Error polling getblocktemplate %j', [res.error])
callback(null)
return
}
process.send({type: 'BlockTemplate', block: res.result})
callback(null)
})

0 comments on commit 36d1eee

Please sign in to comment.
You can’t perform that action at this time.