mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(consensus): skip building only for ancestor (#6442)
This commit is contained in:
@ -474,7 +474,10 @@ where
|
||||
// and deemed `VALID`. In the case of such an event, client software MUST return
|
||||
// `{payloadStatus: {status: VALID, latestValidHash: forkchoiceState.headBlockHash,
|
||||
// validationError: null}, payloadId: null}`
|
||||
attrs.take();
|
||||
if self.blockchain.canonical_tip() != header.num_hash() {
|
||||
attrs.take();
|
||||
}
|
||||
|
||||
debug!(
|
||||
target: "consensus::engine",
|
||||
fcu_head_num=?header.number,
|
||||
|
||||
Reference in New Issue
Block a user