Fix validation types
@@ -206,21 +206,30 @@ class IdentifierField(Base58Field):
_base_types = (str, )
def __init__(self, *args, **kwargs):
- super().__init__(long=True, short=True, *args, **kwargs)
+ # TODO the tests in client are failing because the field
+ # can be short and long both. It is can be an error.
+ # We have to double check the type of the field.
+ super().__init__(short=True, long=True, *args, **kwargs)
class DestNodeField(Base58Field):
_base_types = (str,)
def __init__(self, *args, **kwargs):
- super().__init__(long=True, *args, **kwargs)
+ # TODO the tests in client are failing because the field
+ # can be short and long both. It is can be an error.
+ # We have to double check the type of the field.
+ super().__init__(short=True, long=True, *args, **kwargs)
class DestNymField(Base58Field):
_base_types = (str, )
def __init__(self, *args, **kwargs):
- super().__init__(short=True, *args, **kwargs)
+ # TODO the tests in client are failing because the field
+ # can be short and long both. It is can be an error.
+ # We have to double check the type of the field.
+ super().__init__(short=True, long=True, *args, **kwargs)
class RequestIdentifierField(FieldBase):
