block: rename verifyPow to checkProofOfWork

This commit is contained in:
Daniel Cousens 2016-01-04 12:49:28 +11:00
parent 92b446f6a5
commit e4ba88e54f
2 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ Block.calculateTarget = function (bits) {
return target
}
Block.prototype.verifyPow = function () {
Block.prototype.checkProofOfWork = function () {
var hash = [].reverse.call(this.getHash())
var target = Block.calculateTarget(this.bits)