Skip to content

Commit

Permalink
Remove a debug assert that crashes the node on receipt of zero node ID
Browse files Browse the repository at this point in the history
  • Loading branch information
dsiganos committed May 27, 2022
1 parent 65c8ae9 commit 73a631c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nano/node/transport/tcp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ namespace transport
nano::account node_id () const
{
auto node_id (channel->get_node_id ());
debug_assert (!node_id.is_zero ());
return node_id;
}
uint8_t network_version () const
Expand Down

0 comments on commit 73a631c

Please # to comment.