miner: fix block proofs for submitwork.
This commit is contained in:
parent
9b07b8008e
commit
71cc2f071c
1 changed files with 2 additions and 2 deletions
|
|
@ -912,14 +912,14 @@ class BlockProof {
|
|||
}
|
||||
|
||||
verify(target, network) {
|
||||
if (this.hash().compare(target) > 0)
|
||||
if (this.powHash().compare(target) > 0)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
getDifficulty() {
|
||||
return common.getDifficulty(this.hash());
|
||||
return common.getDifficulty(this.powHash());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue