do not enforce replay protection on old blocks we're just opening again
This commit is contained in:
		
							parent
							
								
									651fc8c43c
								
							
						
					
					
						commit
						14e9332b90
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -88,6 +88,7 @@ class Block: | |||
| 
 | ||||
|                 # Check for replay attacks | ||||
|                 try: | ||||
|                     if self.core._utils.getEpoch() - self.core.getBlockDate(self.hash) < 60: | ||||
|                         assert self.core._crypto.replayTimestampValidation(self.bmetadata['rply']) | ||||
|                 except (AssertionError, KeyError) as e: | ||||
|                     if not self.bypassReplayCheck: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue