Skip to content

Commit

Permalink
Use node.default_difficulty for the threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermelawless committed Mar 26, 2020
1 parent 722d480 commit d315bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/core_test/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ TEST (wallet, work_cache_delayed)
auto block2 (wallet->send_action (nano::test_genesis_key.pub, key.pub, 100));
ASSERT_EQ (block2->hash (), node1.latest (nano::test_genesis_key.pub));
ASSERT_EQ (block2->hash (), node1.wallets.delayed_work->operator[] (nano::test_genesis_key.pub));
auto threshold (node1.network_params.network.publish_thresholds.base);
auto threshold (node1.default_difficulty ());
auto again (true);
system.deadline_set (10s);
while (again)
Expand Down

0 comments on commit d315bb2

Please sign in to comment.