Skip to content

Commit

Permalink
Blocks with state are not anymore checked (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
markopoloparadox authored Apr 16, 2024
1 parent e904b7b commit af54545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/da_block_import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ where
BlockOrigin::NetworkInitialSync | BlockOrigin::File
);
let skip_sync = self.unsafe_da_sync && is_sync;
if !is_own && !skip_sync {
if !is_own && !skip_sync && !block.with_state() {
self.ensure_last_extrinsic_is_failed_send_message_txs(&block)?;
self.ensure_valid_header_extension(&block)?;
}
Expand Down

0 comments on commit af54545

Please sign in to comment.