add check for account alias data type
This commit is contained in:
parent
a984c9dd06
commit
1f0e7c016e
@ -130,7 +130,8 @@ func StringToDataTyp(str string) (DataTyp, error) {
|
||||
return DATA_GENDER, nil
|
||||
case "DATA_OFFERINGS":
|
||||
return DATA_OFFERINGS, nil
|
||||
|
||||
case "DATA_ACCOUNT_ALIAS":
|
||||
return DATA_ACCOUNT_ALIAS, nil
|
||||
default:
|
||||
return 0, errors.New("invalid DataTyp string")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user