Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[rpc-tests] Change solve() to use rehash #7468
Small fix to the p2p test framework (mininode, etc) that I ran into when belatedly testing PR 7225.
I think it's better for solve() to recompute the hash before the first attempt so we're not using a cached hash, which if wrong, would almost certainly be a bug in the test.