aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-04-22 21:55:01 +0800
committerzelig <viktor.tron@gmail.com>2015-04-24 19:45:11 +0800
commit6b1b5a4a2a8b315f4d0e7a08ab10563653711a92 (patch)
tree697ed17f77ce843ce0086e9532a2ee2d992a906d /cmd/geth/js_test.go
parent1b7c017076ae578a89a18b5c7ffc61e9c8d59eee (diff)
downloaddexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.tar
dexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.tar.gz
dexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.tar.bz2
dexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.tar.lz
dexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.tar.xz
dexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.tar.zst
dexon-6b1b5a4a2a8b315f4d0e7a08ab10563653711a92.zip
cli/js console: if corsDomain is not given to startRpc, we fall back to value set on command line with `-corsDomain`
Diffstat (limited to 'cmd/geth/js_test.go')
-rw-r--r--cmd/geth/js_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go
index 662e195e5..50528b80a 100644
--- a/cmd/geth/js_test.go
+++ b/cmd/geth/js_test.go
@@ -36,7 +36,7 @@ func testJEthRE(t *testing.T) (*jsre, *eth.Ethereum) {
t.Fatal("%v", err)
}
assetPath := path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "cmd", "mist", "assets", "ext")
- repl := newJSRE(ethereum, assetPath, false)
+ repl := newJSRE(ethereum, assetPath, false, "")
return repl, ethereum
}