From 892743b3c09559c62109c2d0e9fe90b31ef8f049 Mon Sep 17 00:00:00 2001 From: jm Date: Tue, 15 Jan 2019 00:48:13 +0800 Subject: core: vm: refactor file structure For support other vm types, this pr modified the core/vm file structures. --- dex/downloader/downloader.go | 2 +- dex/downloader/downloader_test.go | 2 +- dex/downloader/testchain_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'dex/downloader') diff --git a/dex/downloader/downloader.go b/dex/downloader/downloader.go index 9d609584b..80f1bec58 100644 --- a/dex/downloader/downloader.go +++ b/dex/downloader/downloader.go @@ -31,7 +31,7 @@ import ( "github.com/dexon-foundation/dexon/core/rawdb" "github.com/dexon-foundation/dexon/core/state" "github.com/dexon-foundation/dexon/core/types" - "github.com/dexon-foundation/dexon/core/vm" + 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/event" diff --git a/dex/downloader/downloader_test.go b/dex/downloader/downloader_test.go index e01e0d96b..3258d069e 100644 --- a/dex/downloader/downloader_test.go +++ b/dex/downloader/downloader_test.go @@ -33,7 +33,7 @@ import ( "github.com/dexon-foundation/dexon/consensus/dexcon" "github.com/dexon-foundation/dexon/core/state" "github.com/dexon-foundation/dexon/core/types" - "github.com/dexon-foundation/dexon/core/vm" + vm "github.com/dexon-foundation/dexon/core/vm/evm" "github.com/dexon-foundation/dexon/ethdb" "github.com/dexon-foundation/dexon/event" "github.com/dexon-foundation/dexon/rlp" diff --git a/dex/downloader/testchain_test.go b/dex/downloader/testchain_test.go index e5c5e4d23..61778c028 100644 --- a/dex/downloader/testchain_test.go +++ b/dex/downloader/testchain_test.go @@ -29,7 +29,7 @@ import ( "github.com/dexon-foundation/dexon/core" "github.com/dexon-foundation/dexon/core/state" "github.com/dexon-foundation/dexon/core/types" - "github.com/dexon-foundation/dexon/core/vm" + 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/params" -- cgit v1.2.3