From 0424afc658dae706b017aeb3d6208026c1f6f547 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 30 Aug 2019 09:00:43 -0400 Subject: add callbacks for the miner --- consensus/dummy/consensus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'consensus') 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) -- cgit v1.2.3-70-g09d2