silly me, missing type()
This commit is contained in:
		
							parent
							
								
									1a6fa19323
								
							
						
					
					
						commit
						0ca6480c79
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -263,7 +263,7 @@ class Block: | |||
|             - (Block): the Block's parent | ||||
|         ''' | ||||
| 
 | ||||
|         if self.parent == str: | ||||
|         if type(self.parent) == str: | ||||
|             if self.parent == self.getHash(): | ||||
|                 self.parent = self | ||||
|             elif Block.exists(self.parent): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue