aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-04 08:25:04 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-04 08:32:10 +0800
commit2feb23c1dacf1cc7ef664d92f28b63dd46502f21 (patch)
tree5532c0a82ae0d39104977f5bc022e024de3043be /miner
parentacd85fe95f025384885ed09560e32b227d80b26f (diff)
downloaddexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.tar
dexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.tar.gz
dexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.tar.bz2
dexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.tar.lz
dexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.tar.xz
dexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.tar.zst
dexon-2feb23c1dacf1cc7ef664d92f28b63dd46502f21.zip
core, eth, miner, xeth: receipt storage fix
* Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 1c1e8f927..dd004da6e 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -255,7 +255,7 @@ func (self *worker) wait() {
// This puts transactions in a extra db for rpc
core.PutTransactions(self.extraDb, block, block.Transactions())
// store the receipts
- core.PutReceipts(self.extraDb, block.Hash(), self.current.receipts)
+ core.PutReceipts(self.extraDb, self.current.receipts)
}
// check staleness and display confirmation