From 11915eb539b299077820daf501fbb0f9c9d1e332 Mon Sep 17 00:00:00 2001 From: "will@2012" Date: Fri, 29 Mar 2024 21:40:20 +0800 Subject: [PATCH] chore: add sleep debug --- core/blockchain.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/blockchain.go b/core/blockchain.go index febef18b87..86e69ef278 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1834,6 +1834,8 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error) err error ) + time.Sleep(1 * time.Second) + // skip block process if we already have the state, receipts and logs from mining work if !(receiptExist && logExist && stateExist) { // Retrieve the parent block and it's state to execute on top