aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/block_cache_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_cache_test.go b/core/block_cache_test.go
index 434b97792..43ab847f9 100644
--- a/core/block_cache_test.go
+++ b/core/block_cache_test.go
@@ -11,7 +11,7 @@ import (
func newChain(size int) (chain []*types.Block) {
var parentHash common.Hash
for i := 0; i < size; i++ {
- block := types.NewBlock(parentHash, common.Address{}, common.Hash{}, new(big.Int), 0, "")
+ block := types.NewBlock(parentHash, common.Address{}, common.Hash{}, new(big.Int), 0, nil)
block.Header().Number = big.NewInt(int64(i))
chain = append(chain, block)
parentHash = block.Hash()