Skip to content

Commit

Permalink
chore: add sleep debug
Browse files Browse the repository at this point in the history
  • Loading branch information
will@2012 committed Mar 29, 2024
1 parent 58ec894 commit 11915eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11915eb

Please sign in to comment.