Skip to content

Commit 947c4ff

Browse files
mrbandrewslaanwj
authored andcommitted
[rpc-tests] Change solve() to use rehash
Github-Pull: #7468 Rebased-From: 7689041
1 parent 9cb31e6 commit 947c4ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)