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