diff --git a/server/db.py b/server/db.py index 1ba4e01..6e1b829 100644 --- a/server/db.py +++ b/server/db.py @@ -315,7 +315,7 @@ class DB(util.LoggedClass): genesis_hash = genesis_hash.decode() if genesis_hash != self.coin.GENESIS_HASH: raise self.DBError('DB genesis hash {} does not match coin {}' - .format(state['genesis_hash'], + .format(genesis_hash, self.coin.GENESIS_HASH)) self.db_height = state['height'] self.db_tx_count = state['tx_count']