diff options
author | Corey Lin <514971757@qq.com> | 2018-11-09 18:51:07 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-09 18:51:07 +0800 |
commit | 1ff152f3a43e4adf030ac61eb5d8da345554fc5a (patch) | |
tree | d54b3e17d3993737f9eac3b53c0b41af86f23ea6 /core/blockchain.go | |
parent | f574c4e74b12d275d24b209aac8dd98ed9b9bb52 (diff) | |
download | go-tangerine-1ff152f3a43e4adf030ac61eb5d8da345554fc5a.tar.gz go-tangerine-1ff152f3a43e4adf030ac61eb5d8da345554fc5a.tar.zst go-tangerine-1ff152f3a43e4adf030ac61eb5d8da345554fc5a.zip |
rawdb: remove unused parameter for WritePreimages func (#18059)
* rawdb: remove unused parameter for WritePreimages func and modify a
spelling mistake
* rawdb: update the doc for function WritePreimages
Diffstat (limited to 'core/blockchain.go')
-rw-r--r-- | core/blockchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain.go b/core/blockchain.go index f4a818f4c..1b0c26ae2 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1002,7 +1002,7 @@ func (bc *BlockChain) WriteBlockWithState(block *types.Block, receipts []*types. } // Write the positional metadata for transaction/receipt lookups and preimages rawdb.WriteTxLookupEntries(batch, block) - rawdb.WritePreimages(batch, block.NumberU64(), state.Preimages()) + rawdb.WritePreimages(batch, state.Preimages()) status = CanonStatTy } else { |