Update after rebasing with staging
This commit is contained in:
parent
639c561fdf
commit
8e166f2a56
@ -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,
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user