Skip to content

Commit

Permalink
spv: removed reject on invalid block
Browse files Browse the repository at this point in the history
  • Loading branch information
edtubbs committed Jan 22, 2024
1 parent c09079a commit 3477eb5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/spv.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,6 @@ void dogecoin_net_spv_post_cmd(dogecoin_node *node, dogecoin_p2p_msg_hdr *hdr, s
{
client->nodegroup->log_write_cb("Got invalid block (not in sequence) from node %d\n", node->nodeid);
node->state &= ~NODE_BLOCKSYNC;
cstring *reject_msg = dogecoin_p2p_message_new(node->nodegroup->chainparams->netmagic, DOGECOIN_MSG_REJECT, NULL, 0);
dogecoin_node_send(node, reject_msg);
cstr_free(reject_msg, true);
return;
}

Expand Down

0 comments on commit 3477eb5

Please sign in to comment.