Skip to content

Commit

Permalink
Update blockchain.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdeep sidhu committed Oct 12, 2024
1 parent 56df1ea commit 470365f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ func (bc *BlockChain) writeBlockWithState(block *types.Block, receipts []*types.
bc.WriteDataHashes(blockBatch, proposedBlockNumber, nevmBlockConnect.VersionHashes)
bc.WriteSYSHash(blockBatch, nevmBlockConnect.Sysblockhash, proposedBlockNumber)
} else if bc.GetChainConfig().SyscoinBlock != nil {
return errors.New("No SYS block connect provided")
return errors.New("no SYS block connect provided")
}
if err := blockBatch.Write(); err != nil {
log.Crit("Failed to write block into disk", "err", err)
Expand Down

0 comments on commit 470365f

Please sign in to comment.