Skip to content

Commit 8c054c6

Browse files
committed
WIP
1 parent b89d61f commit 8c054c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runner/payload/simulator/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func main() {
6262
if err != nil {
6363
return err
6464
}
65-
defer genesisFile.Close()
65+
defer func() { _ = genesisFile.Close() }()
6666
err = json.NewDecoder(genesisFile).Decode(&genesis)
6767
if err != nil {
6868
return err

runner/payload/simulator/cmd/stats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ func (s *stats) update(db *state.StateDB, codePrestate map[common.Hash][]byte, o
218218

219219
s.codeSizeLoaded = float64(totalCodeSize)
220220
s.numContractsLoaded = float64(len(codePrestate))
221-
s.opcodes = opcodeStats.removeAllBut("EXP", "SHA3")
221+
s.opcodes = opcodeStats.removeAllBut("EXP", "KECCAK256")
222222
s.precompileStats = precompileStats
223223
}
224224

0 commit comments

Comments
 (0)