Update to fix bug with the way that xmr-stak accepts jobs and the BT changes from the XMR pools.

This commit is contained in:
Alexander Blair
2017-07-14 02:46:23 -07:00
parent ec01e5e05a
commit c9ead893cd
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -118,6 +118,7 @@ function Coin(data){
// Set this.blob equal to the BT blob that we get from upstream.
this.blob = template.blocktemplate_blob;
this.idHash = crypto.createHash('md5').update(template.blocktemplate_blob).digest('hex');
// Set this.diff equal to the known diff for this block.
this.difficulty = template.difficulty;
// Set this.height equal to the known height for this block.