fix nil TD when writing
This commit is contained in:
parent
32205c0f8d
commit
0d9a5f3828
@ -710,7 +710,7 @@ func (sds *Service) writeStateDiff(block *types.Block, parentRoot common.Hash, p
|
||||
return nil
|
||||
}
|
||||
|
||||
var totalDifficulty *big.Int
|
||||
var totalDifficulty = big.NewInt(0)
|
||||
var receipts types.Receipts
|
||||
var err error
|
||||
var tx interfaces.Batch
|
||||
|
Loading…
Reference in New Issue
Block a user