create an account only if not found in gdbm
This commit is contained in:
		
							parent
							
								
									d1d5c897d1
								
							
						
					
					
						commit
						4c3f63a48f
					
				| @ -177,12 +177,7 @@ func (h *Handlers) CreateAccount(ctx context.Context, sym string, input []byte) | ||||
| 			if err != nil { | ||||
| 				return res, err | ||||
| 			} | ||||
| 		} else { | ||||
| 			err = h.createAccountNoExist(ctx, sessionId, &res) | ||||
| 			if err != nil { | ||||
| 				return res, err | ||||
| 			} | ||||
| 		} | ||||
| 		}  | ||||
| 	} | ||||
| 	return res, nil | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user