aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-04 08:50:46 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-04 08:50:46 +0800
commit6f69b4d61f1278ea2d9351667512a1202403eaff (patch)
treecdaba096d74e5fb7e0a1023708b4458d5cb7da37 /core/chain_manager.go
parentefd7da0ce8fc9ac10c2d50ed222c5360c53c17ca (diff)
parent2feb23c1dacf1cc7ef664d92f28b63dd46502f21 (diff)
downloaddexon-6f69b4d61f1278ea2d9351667512a1202403eaff.tar.gz
dexon-6f69b4d61f1278ea2d9351667512a1202403eaff.tar.zst
dexon-6f69b4d61f1278ea2d9351667512a1202403eaff.zip
Merge pull request #1399 from obscuren/receipts-storing-fix
core, eth, miner, xeth: receipt storage fix
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r--core/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index b5381e336..4855162b5 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -632,7 +632,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) (int, error) {
// This puts transactions in a extra db for rpc
PutTransactions(self.extraDb, block, block.Transactions())
// store the receipts
- PutReceipts(self.extraDb, block.Hash(), receipts)
+ PutReceipts(self.extraDb, receipts)
case SideStatTy:
if glog.V(logger.Detail) {
glog.Infof("inserted forked block #%d (TD=%v) (%d TXs %d UNCs) (%x...). Took %v\n", block.Number(), block.Difficulty(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4], time.Since(bstart))