diff options
author | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-02-19 11:26:49 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-05-06 10:44:04 +0800 |
commit | 156e8c3e6a06a7ba3fc35ac7dd1162493090ce29 (patch) | |
tree | b136c746d17a6ed77879bc17be7d3f8221aa6cff /core/chain_makers.go | |
parent | d7ee3523a6b67a240d9f9e4924f286586c6613b2 (diff) | |
download | dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.tar dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.tar.gz dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.tar.bz2 dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.tar.lz dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.tar.xz dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.tar.zst dexon-156e8c3e6a06a7ba3fc35ac7dd1162493090ce29.zip |
core: rebase dev and fix lint
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index f57eb37ff..50a537964 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -27,7 +27,7 @@ import ( "github.com/dexon-foundation/dexon/consensus/misc" "github.com/dexon-foundation/dexon/core/state" "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/ethdb" "github.com/dexon-foundation/dexon/params" ) @@ -103,7 +103,7 @@ func (b *BlockGen) AddTxWithChain(bc *BlockChain, tx *types.Transaction) { b.SetCoinbase(common.Address{}) } b.statedb.Prepare(tx.Hash(), common.Hash{}, len(b.txs)) - receipt, _, err := ApplyTransaction(b.config, bc, &b.header.Coinbase, b.gasPool, b.statedb, b.header, tx, &b.header.GasUsed, vm.Config{}) + receipt, _, err := ApplyTransaction(b.config, bc, &b.header.Coinbase, b.gasPool, b.statedb, b.header, tx, &b.header.GasUsed, evm.Config{}) if err != nil { panic(err) } |