aboutsummaryrefslogtreecommitdiffstats
path: root/console/console_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'console/console_test.go')
-rw-r--r--console/console_test.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/console/console_test.go b/console/console_test.go
index d5010b907..b5cff2c4d 100644
--- a/console/console_test.go
+++ b/console/console_test.go
@@ -21,17 +21,16 @@ import (
"errors"
"fmt"
"io/ioutil"
- "math/big"
"os"
"strings"
"testing"
"time"
"github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/internal/jsre"
"github.com/ethereum/go-ethereum/node"
- "github.com/ethereum/go-ethereum/params"
)
const (
@@ -97,9 +96,9 @@ func newTester(t *testing.T, confOverride func(*eth.Config)) *tester {
t.Fatalf("failed to create node: %v", err)
}
ethConf := &eth.Config{
- ChainConfig: &params.ChainConfig{HomesteadBlock: new(big.Int), ChainId: new(big.Int)},
- Etherbase: common.HexToAddress(testAddress),
- PowTest: true,
+ Genesis: core.DevGenesisBlock(),
+ Etherbase: common.HexToAddress(testAddress),
+ PowTest: true,
}
if confOverride != nil {
confOverride(ethConf)