Skip to content

Commit

Permalink
Merge branch 'block-generation' into perfnet
Browse files Browse the repository at this point in the history
  • Loading branch information
SpyCheese committed Jul 19, 2023
2 parents 6a2db57 + e6b77ef commit ad1c722
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions validator/impl/validate-query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3983,14 +3983,6 @@ bool ValidateQuery::check_neighbor_outbound_message(Ref<vm::CellSlice> enq_msg,
td::ConstBitPtr key, const block::McShardDescr& nb,
bool& unprocessed) {
unprocessed = false;
if (!block::gen::t_EnqueuedMsg.validate_csr(enq_msg)) {
return reject_query("EnqueuedMsg with key "s + key.to_hex(352) + " in outbound queue of our neighbor " +
nb.blk_.to_str() + " failed to pass automated validity tests");
}
if (!block::tlb::t_EnqueuedMsg.validate_csr(enq_msg)) {
return reject_query("EnqueuedMsg with key "s + key.to_hex(352) + " in outbound queue of our neighbor " +
nb.blk_.to_str() + " failed to pass hand-written validity tests");
}
block::EnqueuedMsgDescr enq;
if (!enq.unpack(enq_msg.write())) { // unpack EnqueuedMsg
return reject_query("cannot unpack EnqueuedMsg with key "s + key.to_hex(352) +
Expand Down

0 comments on commit ad1c722

Please sign in to comment.