aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader
diff options
context:
space:
mode:
authorjm <jm.huang@cobinhood.com>2019-01-15 00:48:13 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-02-19 12:12:35 +0800
commit8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6 (patch)
treecd57c85d5c7a646626654aadad70b5afaab61f6e /dex/downloader
parent4356885cf337109e62ac7d78a834d347a150b5a0 (diff)
downloaddexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.gz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.bz2
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.lz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.xz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.zst
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.zip
core: vm: refactor file structure
For support other vm types, this pr modified the core/vm file structures.
Diffstat (limited to 'dex/downloader')
-rw-r--r--dex/downloader/downloader.go2
-rw-r--r--dex/downloader/downloader_test.go2
-rw-r--r--dex/downloader/testchain_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/dex/downloader/downloader.go b/dex/downloader/downloader.go
index e15844668..803f56d96 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 e8ec0056b..ede977607 100644
--- a/dex/downloader/downloader_test.go
+++ b/dex/downloader/downloader_test.go
@@ -32,7 +32,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 73d4863a5..4f88ebaed 100644
--- a/dex/downloader/testchain_test.go
+++ b/dex/downloader/testchain_test.go
@@ -26,7 +26,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"