Skip to content

Commit

Permalink
Fix ec vs. code incorrect local var dereference.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jun 28, 2024
1 parent a4997fb commit fb8bfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/protocol_block_in_31800.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ bool protocol_block_in_31800::handle_receive_block(const code& ec,
return false;
}

if (ec == system::error::block_malleated)
if (code == system::error::block_malleated)
{
LOGR("Malleated block [" << encode_hash(hash) << ":" << height
<< "] from [" << authority() << "] " << code.message());
Expand Down

0 comments on commit fb8bfb5

Please sign in to comment.