Skip to content

Commit

Permalink
Remove unnecessary stacktrace call (#4836)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev authored Jan 29, 2025
1 parent fe0413b commit ddb12f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion nano/node/transport/tcp_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ nano::transport::tcp_channel::tcp_channel (nano::node & node_a, std::shared_ptr<
strand{ node_a.io_ctx.get_executor () },
sending_task{ strand }
{
stacktrace = nano::generate_stacktrace ();
remote_endpoint = socket_a->remote_endpoint ();
local_endpoint = socket_a->local_endpoint ();
start ();
Expand Down
2 changes: 0 additions & 2 deletions nano/node/transport/tcp_channel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ class tcp_channel final : public nano::transport::channel, public std::enable_sh
tcp_channel_queue queue;
std::atomic<size_t> allocated_bandwidth{ 0 };

// Debugging
std::atomic<bool> closed{ false };
std::string stacktrace;

public: // Logging
void operator() (nano::object_stream &) const override;
Expand Down

0 comments on commit ddb12f2

Please sign in to comment.