aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-15 06:41:27 +0800
committerobscuren <geffobscura@gmail.com>2015-05-15 06:42:06 +0800
commit0f76a1c6df44bc3242a64e76bef66dfe312d259b (patch)
tree92aa35e862d1f542b376379a0900b870b2f8cefc /core/events.go
parent580bae0a86ab39662dc49efe008424518469cafd (diff)
downloaddexon-0f76a1c6df44bc3242a64e76bef66dfe312d259b.tar.gz
dexon-0f76a1c6df44bc3242a64e76bef66dfe312d259b.tar.zst
dexon-0f76a1c6df44bc3242a64e76bef66dfe312d259b.zip
core: changed how head events are checked
Diffstat (limited to 'core/events.go')
-rw-r--r--core/events.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/events.go b/core/events.go
index 1ea35c2f4..7b56f8bb6 100644
--- a/core/events.go
+++ b/core/events.go
@@ -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
}