Skip to content

Commit e49d7ea

Browse files
committed
comment
1 parent a9356d4 commit e49d7ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ func (m *Manager) publishBlockInternal(ctx context.Context) error {
692692
LastDataHash: lastDataHash,
693693
}
694694

695+
// we sign the header after executing the block, as a signature payload provider could depend on the block's data
695696
signature, err = m.getHeaderSignature(header.Header)
696697
if err != nil {
697698
return err

0 commit comments

Comments
 (0)