diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/js_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index 5b962f621..4421b1d68 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -175,7 +175,7 @@ func TestBlockChain(t *testing.T) { defer ethereum.Stop() // should get current block - val0, err := repl.re.Run("admin.dumpBlock()") + val0, err := repl.re.Run("admin.debug.dumpBlock()") if err != nil { t.Errorf("expected no error, got %v", err) } @@ -197,7 +197,7 @@ func TestBlockChain(t *testing.T) { var val1 otto.Value // should get current block - val1, err = repl.re.Run("admin.dumpBlock()") + val1, err = repl.re.Run("admin.debug.dumpBlock()") if err != nil { t.Errorf("expected no error, got %v", err) } |