Skip to content

Commit e55fa1d

Browse files
committed
add comment back
1 parent 78d375c commit e55fa1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

block/internal/syncing/p2p_handler.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ func (h *P2PHandler) ProcessHeight(ctx context.Context, height uint64, heightInC
9696
return err
9797
}
9898

99+
// further header validation (signature) is done in validateBlock.
100+
// we need to be sure that the previous block n-1 was executed before validating block n
99101
event := common.DAHeightEvent{
100102
Header: header,
101103
Data: data,

0 commit comments

Comments
 (0)