Update after rebasing with staging

This commit is contained in:
Elizabeth Engelman 2019-08-01 09:06:42 -05:00
parent 639c561fdf
commit 8e166f2a56
2 changed files with 0 additions and 5 deletions

View File

@ -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,

View File

@ -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(),