Skip to content

Commit 3d26ad1

Browse files
MariusVanDerWijdenlightclient
authored andcommitted
core/vm: fix lint
1 parent b6d7ef0 commit 3d26ad1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

core/vm/contracts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ func (b *kzgPointEvaluation) Run(input []byte) ([]byte, error) {
13191319
return common.Hex2Bytes(blobPrecompileReturnValue), nil
13201320
}
13211321

1322-
func (c *kzgPointEvaluation) Name() string {
1322+
func (b *kzgPointEvaluation) Name() string {
13231323
return "KZG_POINT_EVALUATION"
13241324
}
13251325

internal/ethapi/override/override_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ func (p *precompileContract) RequiredGas(input []byte) uint64 { return 0 }
3939

4040
func (p *precompileContract) Run(input []byte) ([]byte, error) { return nil, nil }
4141

42+
func (p *precompileContract) Name() string { return "" }
43+
4244
func TestStateOverrideMovePrecompile(t *testing.T) {
4345
db := state.NewDatabase(triedb.NewDatabase(rawdb.NewMemoryDatabase(), nil), nil)
4446
statedb, err := state.New(types.EmptyRootHash, db)

0 commit comments

Comments
 (0)