diff --git a/nano/node/json_handler.cpp b/nano/node/json_handler.cpp index 61f7357e..d4f6fa64 100644 --- a/nano/node/json_handler.cpp +++ b/nano/node/json_handler.cpp @@ -4114,7 +4114,6 @@ void nano::json_handler::unchecked () if (!ec) { boost::property_tree::ptree unchecked; - auto transaction (node.store.tx_begin_read ()); node.unchecked.for_each ( [&unchecked, &json_block_l] (nano::unchecked_key const & key, nano::unchecked_info const & info) { if (json_block_l) @@ -4137,7 +4136,6 @@ void nano::json_handler::unchecked () void nano::json_handler::unchecked_clear () { node.workers.push_task (create_worker_task ([] (std::shared_ptr const & rpc_l) { - auto transaction (rpc_l->node.store.tx_begin_write ({ tables::unchecked })); rpc_l->node.unchecked.clear (); rpc_l->response_l.put ("success", ""); rpc_l->response_errors (); @@ -4195,7 +4193,6 @@ void nano::json_handler::unchecked_keys () if (!ec) { boost::property_tree::ptree unchecked; - auto transaction (node.store.tx_begin_read ()); node.unchecked.for_each ( key, [&unchecked, json_block_l] (nano::unchecked_key const & key, nano::unchecked_info const & info) {