From 26c6e3b206bcf95b6b042ab529522ab7f2bc6f08 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Mon, 3 Aug 2015 02:46:34 +0200 Subject: miner: gas limit strategy, target 3141592 & def gas price 50 Shannon --- eth/fetcher/fetcher_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eth/fetcher') diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 499d6d546..ecbb3f868 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -28,12 +28,13 @@ import ( "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethdb" + "github.com/ethereum/go-ethereum/params" ) var ( testdb, _ = ethdb.NewMemDatabase() genesis = core.GenesisBlockForTesting(testdb, common.Address{}, big.NewInt(0)) - unknownBlock = types.NewBlock(&types.Header{}, nil, nil, nil) + unknownBlock = types.NewBlock(&types.Header{GasLimit: params.GenesisGasLimit}, nil, nil, nil) ) // makeChain creates a chain of n blocks starting at and including parent. -- cgit v1.2.3