mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
geth: fixed failing cli tests
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user