Skip to content

Commit

Permalink
Merge pull request #126 from kcalvinalvin/2024-02-01-dont-flush-index…
Browse files Browse the repository at this point in the history
…-on-processheader

blockchain: don't flush index on ProcessBlockHeader
  • Loading branch information
kcalvinalvin authored Feb 1, 2024
2 parents ae34c4c + f7d5a80 commit 1899d6f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions blockchain/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ func (b *BlockChain) ProcessBlockHeader(header *wire.BlockHeader) error {
if err != nil {
return err
}
err = b.index.flushToDB()
if err != nil {
return err
}
return nil
}

Expand Down

0 comments on commit 1899d6f

Please sign in to comment.