aboutsummaryrefslogtreecommitdiffstats
path: root/jsre/jsre.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-16 23:48:54 +0800
committerzelig <viktor.tron@gmail.com>2015-03-16 23:48:54 +0800
commitb4060da9eb717f43346f24822f5b25c3385a8519 (patch)
treefcc4e2a94c5b3238796b20ac27257d6a7478fc69 /jsre/jsre.go
parent5e7702fd050ed5520a03cc2cfc8b1f45a70f35fb (diff)
downloadgo-tangerine-b4060da9eb717f43346f24822f5b25c3385a8519.tar.gz
go-tangerine-b4060da9eb717f43346f24822f5b25c3385a8519.tar.zst
go-tangerine-b4060da9eb717f43346f24822f5b25c3385a8519.zip
ethutil -> common
Diffstat (limited to 'jsre/jsre.go')
-rw-r--r--jsre/jsre.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsre/jsre.go b/jsre/jsre.go
index 7ae5be742..31ea955e6 100644
--- a/jsre/jsre.go
+++ b/jsre/jsre.go
@@ -5,7 +5,7 @@ import (
"github.com/obscuren/otto"
"io/ioutil"
- "github.com/ethereum/go-ethereum/ethutil"
+ "github.com/ethereum/go-ethereum/common"
)
/*
@@ -37,7 +37,7 @@ func New(assetPath string) *JSRE {
// Exec(file) loads and runs the contents of a file
// if a relative path is given, the jsre's assetPath is used
func (self *JSRE) Exec(file string) error {
- return self.exec(ethutil.AbsolutePath(self.assetPath, file))
+ return self.exec(common.AbsolutePath(self.assetPath, file))
}
func (self *JSRE) exec(path string) error {