Skip to content

[rpc-tests] Change solve() to use rehash#7468

Merged
laanwj merged 1 commit into
bitcoin:masterfrom
mrbandrews:ba-fix-rehash
Feb 5, 2016
Merged

[rpc-tests] Change solve() to use rehash#7468
laanwj merged 1 commit into
bitcoin:masterfrom
mrbandrews:ba-fix-rehash

Conversation

@mrbandrews

Copy link
Copy Markdown
Contributor

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.

@laanwj laanwj added the Tests label Feb 4, 2016
@sdaftuar

sdaftuar commented Feb 4, 2016

Copy link
Copy Markdown
Member

utACK 7689041

This has bitten me before too...

@laanwj
laanwj merged commit 7689041 into bitcoin:master Feb 5, 2016
laanwj added a commit that referenced this pull request Feb 5, 2016
7689041 [rpc-tests] Change solve() to use rehash (mrbandrews)
@laanwj

laanwj commented Feb 10, 2016

Copy link
Copy Markdown
Member

Cherry-picked to 0.12 as 947c4ff

laanwj pushed a commit that referenced this pull request Feb 10, 2016
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants