Remove temporary patch for generating UUID in Identity.Save() function
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		@@ -181,10 +181,6 @@ func (id *Identity) Save() error {
 | 
			
		||||
	if GetConfig().IdentityFile == "" {
 | 
			
		||||
		return errors.New("identity filename empty")
 | 
			
		||||
	}
 | 
			
		||||
	//! temp patch
 | 
			
		||||
	if id.Uuid == "" {
 | 
			
		||||
		id.Uuid = uuid.New().String()
 | 
			
		||||
	}
 | 
			
		||||
	b, _ := json.Marshal(id)
 | 
			
		||||
	armor, err := helper.EncryptMessageWithPassword([]byte(GetConfig().memoryPassword), string(b))
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user