diff --git a/core/block.go b/core/block.go index aa925ece5a..e51ce2b192 100644 --- a/core/block.go +++ b/core/block.go @@ -185,10 +185,12 @@ func Post0132Hash(b *Block, stateDiff *StateDiff) (*felt.Felt, *BlockCommitments wg.Go(func() { rCommitment, rErr = receiptCommitment(b.Receipts) }) + wg.Go(func() { sdLength = stateDiff.Length() sdCommitment = stateDiff.Hash() }) + wg.Wait() if tErr != nil {