Commit 525391e0 authored by 0x1337's avatar 0x1337

db version

parent 046d8c27
......@@ -65,7 +65,7 @@ const (
triesInMemory = 128
// BlockChainVersion ensures that an incompatible database forces a resync from scratch.
BlockChainVersion uint64 = 3
BlockChainVersion uint64 = 5
)
// CacheConfig contains the configuration values for the trie caching/pruning
......@@ -1184,7 +1184,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals bool) (int, []
case err != nil:
stats.ignored += len(it.chain)
bc.reportBlock(block, nil, err)
return it.index + 1, events, coalescedLogs, err
return it.index, events, coalescedLogs, err
}
// No validation errors for the first block (or chain prefix skipped)
for ; block != nil && err == nil; block, err = it.next() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment