diff --git a/pkg/geth/blockchain.go b/pkg/geth/blockchain.go index 5226c938..f834654a 100644 --- a/pkg/geth/blockchain.go +++ b/pkg/geth/blockchain.go @@ -150,10 +150,6 @@ func (blockChain *BlockChain) getPOAHeader(blockNumber int64) (header core.Heade if POAHeader.Number == nil { return header, ErrEmptyHeader } - time := POAHeader.Time.ToInt() - if time == nil { - time = big.NewInt(0) - } return blockChain.headerConverter.Convert(&types.Header{ ParentHash: POAHeader.ParentHash, UncleHash: POAHeader.UncleHash, diff --git a/pkg/geth/converters/common/header_converter.go b/pkg/geth/converters/common/header_converter.go index fd883424..1a66780f 100644 --- a/pkg/geth/converters/common/header_converter.go +++ b/pkg/geth/converters/common/header_converter.go @@ -31,7 +31,6 @@ func (converter HeaderConverter) Convert(gethHeader *types.Header, blockHash str if err != nil { panic(err) } - strInt := strconv.FormatUint(gethHeader.Time, 10) coreHeader := core.Header{ Hash: blockHash, BlockNumber: gethHeader.Number.Int64(),