aboutsummaryrefslogtreecommitdiffstats
path: root/core/rawdb
diff options
context:
space:
mode:
Diffstat (limited to 'core/rawdb')
-rw-r--r--core/rawdb/accessors_chain.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go
index 10f3ba00f..647839997 100644
--- a/core/rawdb/accessors_chain.go
+++ b/core/rawdb/accessors_chain.go
@@ -325,6 +325,9 @@ func ReadReceipts(db ethdb.Reader, hash common.Hash, number uint64) types.Receip
logIndex += 1
}
receipts[i] = (*types.Receipt)(receipt)
+ receipts[i].BlockHash = hash
+ receipts[i].BlockNumber = big.NewInt(0).SetUint64(number)
+ receipts[i].TransactionIndex = uint(i)
}
return receipts
}