Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions emulator/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1500,8 +1500,7 @@ func (b *Blockchain) commitBlock() (*flowgo.Block, error) {
scheduledTransactionIDs = scheduledTxIDs
}

// lastly we execute the system chunk transaction
// System chunk comes after all user txs and scheduled txs
// Calculate index for system chunk transaction which executes after all user and scheduled transactions
systemChunkIndex := uint32(len(transactions)) + uint32(len(systemTransactionIDs))
chunkBody, itr, err := b.executeSystemChunkTransaction(systemChunkIndex)
if err != nil {
Expand Down