Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Jul 1, 2024
1 parent 3f3f09c commit a60bcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/v2/cometbft/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func (c *Consensus[T]) InitChain(ctx context.Context, req *abciproto.InitChainRe
}

// populate hash with empty byte slice instead of nil
bz := sha256.Sum256([]byte(""))
bz := sha256.Sum256([]byte{})

br := &coreappmgr.BlockRequest[T]{
Height: uint64(req.InitialHeight - 1),
Expand Down

0 comments on commit a60bcdb

Please sign in to comment.