new consensus engine commit 4/6/23

This commit is contained in:
philip-morlier
2023-04-06 10:36:43 -07:00
parent b1dd4f79f3
commit c3924a529e
2 changed files with 5 additions and 1 deletions
-1
View File
@@ -432,7 +432,6 @@ func (ew *engineWrapper) Prepare(chain consensus.ChainHeaderReader, header *type
}
// header.Difficulty = uHeader.Difficulty
*header = *utilsToGethHeader(uHeader)
log.Error("header logs", "header D", header.Difficulty, "U head D", uHeader.Difficulty)
return nil
}
func (ew *engineWrapper) Finalize(chain consensus.ChainHeaderReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, uncles []*types.Header, withdrawals []*types.Withdrawal) {