fix testnet targetting.
This commit is contained in:
parent
9011fcc25e
commit
911f9534e4
@ -693,7 +693,7 @@ Chain.prototype.target = function target(last, block) {
|
||||
|
||||
while (last.prev
|
||||
&& last.height % network.powDiffInterval !== 0
|
||||
&& last.bits !== powLimit) {
|
||||
&& last.bits === powLimit) {
|
||||
last = last.prev;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user