now update block datasaved stat when saved

master
Kevin Froman 2018-01-28 20:08:28 -06:00
parent dc65254e0a
commit 8d41f9f3d5
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class Core:
conn = sqlite3.connect(self.blockDB)
c = conn.cursor()
c.execute("UPDATE hashes set dataSaved=1 where id = '" + dataHash + "';")
c.execute("UPDATE hashes set dataSaved=1 where hash = '" + dataHash + "';")
conn.commit()
conn.close()