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 10, 2021
1 parent fa38ee4 commit 1ccabcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Expand Up @@ -1426,7 +1426,7 @@ func (bc *BlockChain) writeBlockWithoutState(block *types.Block, td *big.Int) (e
// WriteKnownBlock updates the head block flag with a known block
// and introduces chain reorg if necessary.
// SYSCOIN
func (bc *BlockChain) writeKnownBlock(block *types.Block, overrideUpdateHeads bool) error {
func (bc *BlockChain) WriteKnownBlock(block *types.Block, overrideUpdateHeads bool) error {
current := bc.CurrentBlock()
if block.ParentHash() != current.Hash() {
if err := bc.reorg(current, block); err != nil {
Expand Down

0 comments on commit 1ccabcd

Please sign in to comment.