diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-10-22 20:43:21 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-11-19 22:03:32 +0800 |
commit | e86e0ecdc8a977db2ff5df60dca3cad8355ace6d (patch) | |
tree | 5944b33220457ad5da31b33e15774882c2e6201f /core/genesis.go | |
parent | ae37a8013d5a348bdb21d4a66d5f462e0baf7cd8 (diff) | |
download | go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.gz go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.tar.zst go-tangerine-e86e0ecdc8a977db2ff5df60dca3cad8355ace6d.zip |
core, eth, miner, xeth: clean up tx/receipt db accessors
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/genesis.go b/core/genesis.go index dac5de92f..3fd8f42b0 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -103,7 +103,7 @@ 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.Hash(), nil); err != nil { + if err := WriteBlockReceipts(chainDb, block.Hash(), nil); err != nil { return nil, err } if err := WriteCanonicalHash(chainDb, block.Hash(), block.NumberU64()); err != nil { |