Skip to content

Commit

Permalink
Remove unused transaction from confirmation_history (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiySW authored and PlasmaPower committed Jun 4, 2018
1 parent 82d8f71 commit d137973
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rai/node/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,6 @@ void rai::rpc_handler::confirmation_history ()
boost::property_tree::ptree response_l;
boost::property_tree::ptree elections;
{
rai::transaction transaction (node.store.environment, nullptr, false);
std::lock_guard<std::mutex> lock (node.active.mutex);
for (auto i (node.active.confirmed.begin ()), n (node.active.confirmed.end ()); i != n; ++i)
{
Expand Down

0 comments on commit d137973

Please # to comment.