From 020c8a477578cef3764b54f33d9ca0cf6caf7631 Mon Sep 17 00:00:00 2001 From: JM Date: Tue, 15 Jan 2019 23:33:28 +0800 Subject: core: vm: refactor file structure (#151) For support other vm types, this pr modified the core/vm file structures. --- internal/ethapi/api.go | 2 +- internal/ethapi/backend.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/ethapi') diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 7bcf44814..96c4c2e5d 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -35,7 +35,7 @@ import ( "github.com/dexon-foundation/dexon/core" "github.com/dexon-foundation/dexon/core/rawdb" "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/log" "github.com/dexon-foundation/dexon/p2p" diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index 51f236890..ebbdf87e3 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -27,7 +27,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/ethdb" "github.com/dexon-foundation/dexon/event" "github.com/dexon-foundation/dexon/params" -- cgit v1.2.3