mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 00:07:38 +00:00
Merge pull request #5856
f56e160
unit_tests: Fix uninitialized values (liptakmatyas)
This commit is contained in:
commit
d91393daaf
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ bool get_output_distribution(uint64_t amount, uint64_t from, uint64_t to, uint64
|
|||
|
||||
crypto::hash get_block_hash(uint64_t height)
|
||||
{
|
||||
crypto::hash hash;
|
||||
crypto::hash hash = crypto::null_hash;
|
||||
*((uint64_t*)&hash) = height;
|
||||
return hash;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue