diff --git a/nano/node/wallet.cpp b/nano/node/wallet.cpp index 696d7b4b68..922edd4abc 100644 --- a/nano/node/wallet.cpp +++ b/nano/node/wallet.cpp @@ -1644,12 +1644,7 @@ nano::wallet_representatives nano::wallets::reps () const bool nano::wallets::check_rep (nano::account const & account_a, nano::uint128_t const & half_principal_weight_a, bool const acquire_lock_a) { - nano::uint128_t weight; - { - auto ledger_txn{ node.ledger.store.tx_begin_read () }; - weight = node.ledger.weight_exact (ledger_txn, account_a); - } - + auto weight = node.ledger.weight (account_a); if (weight < node.config.vote_minimum.number ()) { return false; // account not a representative