We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e66716f + c263939 commit f5f5809Copy full SHA for f5f5809
server/v2/cometbft/abci_test.go
@@ -959,10 +959,10 @@ func TestOptimisticExecution(t *testing.T) {
959
require.Equal(t, resp.Status, abciproto.PROCESS_PROPOSAL_STATUS_ACCEPT)
960
961
// Initialize FinalizeBlock with correct hash - should use optimistic result
962
- theHash = sha256.Sum256([]byte("test"))
+ theHash2 := sha256.Sum256([]byte("test"))
963
fbReq := &abciproto.FinalizeBlockRequest{
964
Height: 2,
965
- Hash: theHash[:],
+ Hash: theHash2[:],
966
Time: ppReq.Time,
967
Txs: ppReq.Txs,
968
}
0 commit comments