aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-06-12 13:45:23 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-10-07 19:19:30 +0800
commitec6a548ee3555813d83f86f82bd25694bfd9c303 (patch)
tree9d0ec5022dc952f7b1053b85382df07347bc48f0 /cmd/geth/js_test.go
parent8b865fa9bf75e728d5d76f5a1460e0c37d8b5f9e (diff)
downloaddexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar
dexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.gz
dexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.bz2
dexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.lz
dexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.xz
dexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.zst
dexon-ec6a548ee3555813d83f86f82bd25694bfd9c303.zip
all: Add GPU mining, disabled by default
Diffstat (limited to 'cmd/geth/js_test.go')
-rw-r--r--cmd/geth/js_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go
index 1f5b28e3a..7b3bb09a8 100644
--- a/cmd/geth/js_test.go
+++ b/cmd/geth/js_test.go
@@ -468,8 +468,7 @@ func processTxs(repl *testjethre, t *testing.T, expTxc int) bool {
t.Errorf("incorrect number of pending transactions, expected %v, got %v", expTxc, txc)
return false
}
-
- err = repl.ethereum.StartMining(runtime.NumCPU())
+ err = repl.ethereum.StartMining(runtime.NumCPU(), "")
if err != nil {
t.Errorf("unexpected error mining: %v", err)
return false