Ignore the pivx pid file on windows.
This commit is contained in:
		
							parent
							
								
									f2b69e5498
								
							
						
					
					
						commit
						22e005728a
					
				@ -624,6 +624,10 @@ class BasicSwap(BaseApp):
 | 
			
		||||
            datadir_pid = -1
 | 
			
		||||
            for i in range(20):
 | 
			
		||||
                try:
 | 
			
		||||
                    if os.name == 'nt' and cc['core_version_group'] <= 17:
 | 
			
		||||
                        # Older core versions don't write a pid file on windows
 | 
			
		||||
                        pass
 | 
			
		||||
                    else:
 | 
			
		||||
                        # Workaround for mismatched pid file name in litecoin 0.21.2
 | 
			
		||||
                        # Also set with pid= in .conf
 | 
			
		||||
                        # TODO: Remove
 | 
			
		||||
 | 
			
		||||
@ -1547,7 +1547,7 @@ def main():
 | 
			
		||||
            'use_csv': False,
 | 
			
		||||
            'blocks_confirmed': 1,
 | 
			
		||||
            'conf_target': 2,
 | 
			
		||||
            'core_version_group': 20,
 | 
			
		||||
            'core_version_group': 17,
 | 
			
		||||
            'chain_lookups': 'local',
 | 
			
		||||
        },
 | 
			
		||||
        'dash': {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user