now update block datasaved stat when saved

This commit is contained in:
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

View File

@ -172,7 +172,7 @@ class Core:
conn = sqlite3.connect(self.blockDB) conn = sqlite3.connect(self.blockDB)
c = conn.cursor() 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.commit()
conn.close() conn.close()