Skip to content

Commit 5022a31

Browse files
committed
add NewMinedBlockEvent
1 parent c2af10d commit 5022a31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/events.go

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ type TxPostEvent struct{ Tx *types.Transaction }
1010

1111
// NewBlockEvent is posted when a block has been imported.
1212
type NewBlockEvent struct{ Block *types.Block }
13+
14+
// NewMinedBlockEvent is posted when a block has been imported.
15+
type NewMinedBlockEvent struct{ Block *types.Block }

0 commit comments

Comments
 (0)