aboutsummaryrefslogtreecommitdiffstats
path: root/core/headerchain.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/headerchain.go')
-rw-r--r--core/headerchain.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/headerchain.go b/core/headerchain.go
index ef77aa28a..07a6f9d55 100644
--- a/core/headerchain.go
+++ b/core/headerchain.go
@@ -37,7 +37,7 @@ import (
"github.com/dexon-foundation/dexon/consensus/dexcon"
"github.com/dexon-foundation/dexon/core/rawdb"
"github.com/dexon-foundation/dexon/core/types"
- "github.com/dexon-foundation/dexon/core/vm"
+ "github.com/dexon-foundation/dexon/core/vm/evm"
"github.com/dexon-foundation/dexon/crypto"
"github.com/dexon-foundation/dexon/ethdb"
"github.com/dexon-foundation/dexon/log"
@@ -421,9 +421,9 @@ func newHeaderVerifierCache(
}
}
-func (c *headerVerifierCache) state(round uint64) *vm.GovernanceState {
+func (c *headerVerifierCache) state(round uint64) *evm.GovernanceState {
if state, exist := c.stateCache.Get(round); exist {
- return state.(*vm.GovernanceState)
+ return state.(*evm.GovernanceState)
}
state := c.gov.GetStateForConfigAtRound(round)
c.stateCache.Add(round, state)