Skip to content

Commit

Permalink
Change handle_organize to not stop on success code.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Feb 22, 2024
1 parent 5a76549 commit 8125c5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/protocols/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ void protocol::performance(uint64_t channel, uint64_t speed,

void protocol::handle_organize(const code& ec) NOEXCEPT
{
stop(ec);
if (ec)
{
LOGP("protocol::handle_organize, " << ec.message());
stop(ec);
}
}

void protocol::organize(const system::chain::header::cptr& header,
Expand Down

0 comments on commit 8125c5f

Please sign in to comment.