Skip to content

Commit

Permalink
Fix work_watcher.propagate by allowing higher max work generation dif…
Browse files Browse the repository at this point in the history
…ficulty
  • Loading branch information
guilhermelawless committed Apr 29, 2020
1 parent ca54f74 commit 663c7c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/core_test/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,7 @@ TEST (work_watcher, propagate)
nano::node_config node_config (nano::get_available_port (), system.logging);
node_config.enable_voting = false;
node_config.work_watcher_period = 1s;
node_config.max_work_generate_multiplier = 1e6;
nano::node_flags node_flags;
node_flags.disable_request_loop = true;
auto & node = *system.add_node (node_config, node_flags);
Expand Down

0 comments on commit 663c7c3

Please sign in to comment.