now update block datasaved stat when saved
This commit is contained in:
parent
dc65254e0a
commit
8d41f9f3d5
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user