[Valgrind] Uninitialized memory in distributed_work.no_peers test (#2384)
This commit is contained in:
parent
b870a38d20
commit
898e80f2eb
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ TEST (distributed_work, no_peers)
|
|||
{
|
||||
nano::system system (24000, 1);
|
||||
auto node (system.nodes[0]);
|
||||
nano::block_hash hash;
|
||||
nano::block_hash hash{ 1 };
|
||||
boost::optional<uint64_t> work;
|
||||
std::atomic<bool> done{ false };
|
||||
auto callback = [&work, &done](boost::optional<uint64_t> work_a) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue