aboutsummaryrefslogtreecommitdiffstats
path: root/core/types
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-16 15:06:02 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:18 +0800
commit652ec743c6e05a94212745daec4c10565e57524b (patch)
treeaaf71326d6243862a72b6fd3764c721c6c74561e /core/types
parent7309a991020a78dd389dd851b9b496d6bdf928bb (diff)
downloadgo-tangerine-652ec743c6e05a94212745daec4c10565e57524b.tar.gz
go-tangerine-652ec743c6e05a94212745daec4c10565e57524b.tar.zst
go-tangerine-652ec743c6e05a94212745daec4c10565e57524b.zip
core: revert changes to StateProcessor.Process (#29)
Diffstat (limited to 'core/types')
-rw-r--r--core/types/block.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/types/block.go b/core/types/block.go
index 8947c3a17..3766d3ac0 100644
--- a/core/types/block.go
+++ b/core/types/block.go
@@ -315,9 +315,7 @@ func (b *Block) Randomness() []byte { return common.CopyBytes(b.header.Ran
func (b *Block) Reward() *big.Int { return new(big.Int).Set(b.header.Reward) }
func (b *Block) Round() uint64 { return b.header.Round }
func (b *Block) DexconMeta() []byte { return common.CopyBytes(b.header.DexconMeta) }
-
-func (b *Block) Header() *Header { return CopyHeader(b.header) }
-func (b *Block) RawHeader() *Header { return b.header }
+func (b *Block) Header() *Header { return CopyHeader(b.header) }
// Body returns the non-header content of the block.
func (b *Block) Body() *Body { return &Body{b.transactions, b.uncles} }