aboutsummaryrefslogtreecommitdiff
path: root/consensus
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-30 09:00:43 -0400
committerDeterminant <[email protected]>2019-08-30 09:00:43 -0400
commit0424afc658dae706b017aeb3d6208026c1f6f547 (patch)
treecae1127d880fbe8ea5454821d330dc9acc4ed112 /consensus
parentbf3776a5d5475f9ee35820099debfc49d71ea10c (diff)
add callbacks for the miner
Diffstat (limited to 'consensus')
-rw-r--r--consensus/dummy/consensus.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/dummy/consensus.go b/consensus/dummy/consensus.go
index 791719e..0fbc674 100644
--- a/consensus/dummy/consensus.go
+++ b/consensus/dummy/consensus.go
@@ -8,7 +8,6 @@ import (
"runtime"
"time"
- mapset "github.com/deckarep/golang-set"
"github.com/ava-labs/go-ethereum/common"
"github.com/ava-labs/go-ethereum/consensus"
"github.com/ava-labs/go-ethereum/core/state"
@@ -16,6 +15,7 @@ import (
"github.com/ava-labs/go-ethereum/params"
"github.com/ava-labs/go-ethereum/rlp"
"github.com/ava-labs/go-ethereum/rpc"
+ mapset "github.com/deckarep/golang-set"
)
type OnFinalizeCallbackType = func(chain consensus.ChainReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, uncles []*types.Header)