From 652ec743c6e05a94212745daec4c10565e57524b Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Fri, 16 Nov 2018 15:06:02 +0800 Subject: core: revert changes to StateProcessor.Process (#29) --- core/types/block.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/types') 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} } -- cgit