correct gettortransport endpoint tor config reading to use int and not bool
This commit is contained in:
		
							parent
							
								
									b878faeb4c
								
							
						
					
					
						commit
						cc41ad793e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -145,6 +145,6 @@ class PrivateEndpoints: | |||
|         @private_endpoints_bp.route('/gettoraddress') | ||||
|         def get_tor_address(): | ||||
|             """Return public Tor v3 Onion address for this node""" | ||||
|             if not config.get('general.security_level', 0): | ||||
|             if not config.get('general.security_level', 0) == 0: | ||||
|                 abort(404) | ||||
|             return Response(get_tor()[0]) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue