core: changed how head events are checked
This commit is contained in:
@ -3,6 +3,7 @@ package core
|
||||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/core/state"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
)
|
||||
@ -27,6 +28,7 @@ type ChainSplitEvent struct {
|
||||
|
||||
type ChainEvent struct {
|
||||
Block *types.Block
|
||||
Hash common.Hash
|
||||
Logs state.Logs
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user