Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.

Commit

Permalink
increase db version
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasV committed Mar 1, 2014
1 parent 2a8c19f commit 7164e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/bitcoind/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, config, shared, test_reorgs):
traceback.print_exc(file=sys.stdout)
self.shared.stop()

self.db_version = 2 # increase this when database needs to be updated
self.db_version = 3 # increase this when database needs to be updated
try:
self.last_hash, self.height, db_version = ast.literal_eval(self.db_undo.get('height'))
print_log("Database version", self.db_version)
Expand Down

0 comments on commit 7164e29

Please sign in to comment.