Skip to content

Commit a4fbafc

Browse files
committed
fix golangci
1 parent 1f8b19f commit a4fbafc

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

core/tracing/hooks.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ type StateDB interface {
5959

6060
// VMContext provides the context for the EVM execution.
6161
type VMContext struct {
62-
Coinbase common.Address
63-
BlockNumber *big.Int
64-
Time uint64
65-
Random *common.Hash
66-
BaseFee *big.Int
67-
StateDB StateDB
62+
Coinbase common.Address
63+
BlockNumber *big.Int
64+
Time uint64
65+
Random *common.Hash
66+
BaseFee *big.Int
67+
StateDB StateDB
6868
}
6969

7070
// BlockEvent is emitted upon tracing an incoming block.

core/vm/evm.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -632,11 +632,11 @@ func (evm *EVM) captureEnd(depth int, startGas uint64, leftOverGas uint64, ret [
632632
// to the tracers.
633633
func (evm *EVM) GetVMContext() *tracing.VMContext {
634634
return &tracing.VMContext{
635-
Coinbase: evm.Context.Coinbase,
636-
BlockNumber: evm.Context.BlockNumber,
637-
Time: evm.Context.Time,
638-
Random: evm.Context.Random,
639-
BaseFee: evm.Context.BaseFee,
640-
StateDB: evm.StateDB,
635+
Coinbase: evm.Context.Coinbase,
636+
BlockNumber: evm.Context.BlockNumber,
637+
Time: evm.Context.Time,
638+
Random: evm.Context.Random,
639+
BaseFee: evm.Context.BaseFee,
640+
StateDB: evm.StateDB,
641641
}
642642
}

0 commit comments

Comments
 (0)