aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/genesis.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index b2346da65..11dbdee6d 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -100,6 +100,9 @@ func WriteGenesisBlock(chainDb ethdb.Database, reader io.Reader) (*types.Block,
if err := WriteBlock(chainDb, block); err != nil {
return nil, err
}
+ if err := PutBlockReceipts(chainDb, block, nil); err != nil {
+ return nil, err
+ }
if err := WriteCanonicalHash(chainDb, block.Hash(), block.NumberU64()); err != nil {
return nil, err
}