forked from lthn/blockchain
fixed broken unit test
This commit is contained in:
parent
1458032e93
commit
979649f49c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ TEST(wallet_chain_shortener, wallet_chain_shortener)
|
|||
LOG_PRINT_L0("{" << *((uint64_t*)&id) << "}{" << counter - *((uint64_t*)&id) << "}" << ENDL);
|
||||
}
|
||||
|
||||
for (counter = counter - 10000 + 1; counter != 1000000; counter++)
|
||||
for (counter = counter - 10000; counter != 1000000; counter++)
|
||||
{
|
||||
crypto::hash id_ = AUTO_VAL_INIT(id_);
|
||||
*((uint64_t*)&id_) = counter;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue