aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/types/block.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/types/block.go b/core/types/block.go
index a40bac42c..d5cd8a21e 100644
--- a/core/types/block.go
+++ b/core/types/block.go
@@ -250,10 +250,10 @@ func (self *Block) AddReceipt(receipt *Receipt) {
}
func (self *Block) RlpData() interface{} {
- // return []interface{}{self.header, self.transactions, self.uncles}
- // }
+ return []interface{}{self.header, self.transactions, self.uncles}
+}
- // func (self *Block) RlpDataForStorage() interface{} {
+func (self *Block) RlpDataForStorage() interface{} {
return []interface{}{self.header, self.transactions, self.uncles, self.Td /* TODO receipts */}
}