From bb5e2239719f8878cdf9701def022585654b8f38 Mon Sep 17 00:00:00 2001 From: coranos Date: Mon, 26 Feb 2024 21:11:27 -0600 Subject: [PATCH] Update active_transactions.cpp --- nano/core_test/active_transactions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nano/core_test/active_transactions.cpp b/nano/core_test/active_transactions.cpp index 9dba705aa1..d0f27eba03 100644 --- a/nano/core_test/active_transactions.cpp +++ b/nano/core_test/active_transactions.cpp @@ -438,7 +438,7 @@ TEST (active_transactions, inactive_votes_cache_election_start) nano::send_block_builder send_block_builder; nano::state_block_builder state_block_builder; // Enough weight to trigger election hinting but not enough to confirm block on its own - auto amount = ((node.online_reps.trended () / 100) * node.config.hinted_scheduler.hinting_threshold_percent) / 2 + 1000 * nano::Gxrb_ratio; + auto amount = ((node.online_reps.trended () / 100) * node.config.hinted_scheduler.hinting_threshold_percent) / 2 + 1000 * nano::MBAN_ratio; auto send1 = send_block_builder.make_block () .previous (latest) .destination (key1.pub) @@ -1432,7 +1432,7 @@ TEST (active_transactions, limit_vote_hinted_elections) // Setup representatives // Enough weight to trigger election hinting but not enough to confirm block on its own - const auto amount = ((node.online_reps.trended () / 100) * node.config.hinted_scheduler.hinting_threshold_percent) + 1000 * nano::Gxrb_ratio; + const auto amount = ((node.online_reps.trended () / 100) * node.config.hinted_scheduler.hinting_threshold_percent) + 1000 * nano::MBAN_ratio; nano::keypair rep1 = nano::test::setup_rep (system, node, amount / 2); nano::keypair rep2 = nano::test::setup_rep (system, node, amount / 2);