Browse Source

Fix miner_test unit test bug

0.8
Gavin Andresen 13 years ago
parent
commit
9e5322d23a
  1. 4
      src/test/miner_tests.cpp

4
src/test/miner_tests.cpp

@ -12,13 +12,13 @@ BOOST_AUTO_TEST_CASE(sha256transform_equality) @@ -12,13 +12,13 @@ BOOST_AUTO_TEST_CASE(sha256transform_equality)
unsigned char pstate[32];
unsigned char pinput[32];
unsigned char pinput[64];
int i;
for (i = 0; i < 32; i++) {
pinput[i] = i;
pstate[i] = 0;
pinput[i+32] = 0;
}
uint256 hash;

Loading…
Cancel
Save