aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
diff options
context:
space:
mode:
authorJhih-Ming Huang <jm.huang@cobinhood.com>2019-04-17 13:47:28 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-05-06 12:46:44 +0800
commitbcbd5676d9ca66a0201d5861e080d6bd8438a2ab (patch)
tree6a5ea667a8200eb0ef6adb56cab1084e597fe9c8 /core/blockchain.go
parente715414cae9b4654b4784dfb924880a0787d1d55 (diff)
downloaddexon-jm-vm-entry.tar
dexon-jm-vm-entry.tar.gz
dexon-jm-vm-entry.tar.bz2
dexon-jm-vm-entry.tar.lz
dexon-jm-vm-entry.tar.xz
dexon-jm-vm-entry.tar.zst
dexon-jm-vm-entry.zip
fixup! core: vm: refactor vm config and contextjm-vm-entry
Diffstat (limited to 'core/blockchain.go')
-rw-r--r--core/blockchain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index 489959691..93291de48 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -1030,7 +1030,7 @@ func (bc *BlockChain) WriteBlockWithState(block *types.Block, receipts []*types.
tt := time.Now()
log.Debug("Write gov state", "n", n, "t", tt)
govState, err := state.GetGovState(statedb, block.Header(),
- vm.GovernanceContractAddress)
+ evm.GovernanceContractAddress)
log.Debug("Get gov state finished", "n", n, "elapsed", time.Since(tt))
if err == nil {
bc.govmu.Lock()