mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
Fix miner_test unit test bug
This commit is contained in:
parent
3a6e468d9a
commit
9e5322d23a
1 changed files with 3 additions and 3 deletions
|
@ -12,13 +12,13 @@ BOOST_AUTO_TEST_CASE(sha256transform_equality)
|
||||||
|
|
||||||
|
|
||||||
unsigned char pstate[32];
|
unsigned char pstate[32];
|
||||||
unsigned char pinput[32];
|
unsigned char pinput[64];
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < 32; i++) {
|
for (i = 0; i < 32; i++) {
|
||||||
pinput[i] = i;
|
pinput[i] = i;
|
||||||
pstate[i] = 0;
|
pinput[i+32] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256 hash;
|
uint256 hash;
|
||||||
|
|
Loading…
Add table
Reference in a new issue