now update block datasaved stat when saved
This commit is contained in:
		
							parent
							
								
									dc65254e0a
								
							
						
					
					
						commit
						8d41f9f3d5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue