Skip to content

Commit 7689041

Browse files
committed
[rpc-tests] Change solve() to use rehash
1 parent 152a821 commit 7689041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/rpc-tests/test_framework/mininode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def is_valid(self):
536536
return True
537537

538538
def solve(self):
539-
self.calc_sha256()
539+
self.rehash()
540540
target = uint256_from_compact(self.nBits)
541541
while self.sha256 > target:
542542
self.nNonce += 1

0 commit comments

Comments
 (0)