increased allowed pow id size
This commit is contained in:
		
							parent
							
								
									6860fe50fa
								
							
						
					
					
						commit
						a38eb667ef
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -83,8 +83,8 @@ class Core: | ||||||
|         # This function simply adds a peer to the DB |         # This function simply adds a peer to the DB | ||||||
|         if not self._utils.validatePubKey(peerID): |         if not self._utils.validatePubKey(peerID): | ||||||
|             return False |             return False | ||||||
|         if sys.getsizeof(powID) > 60: |         if sys.getsizeof(powID) > 120: | ||||||
|             logger.warn("POW token for pubkey base64 representation exceeded 60 bytes") |             logger.warn("POW token for pubkey base64 representation exceeded 120 bytes, is " + str(sys.getsizeof(powID))) | ||||||
|             return False |             return False | ||||||
| 
 | 
 | ||||||
|         conn = sqlite3.connect(self.peerDB) |         conn = sqlite3.connect(self.peerDB) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue