diff --git a/hathor/nanocontracts/runner/types.py b/hathor/nanocontracts/runner/types.py index e1d668184..f3a79d5a4 100644 --- a/hathor/nanocontracts/runner/types.py +++ b/hathor/nanocontracts/runner/types.py @@ -101,7 +101,7 @@ def to_json(self) -> dict[str, Any]: @classmethod def from_json(cls, json_dict: dict[str, Any]) -> Self: valid_types = ( - IndexUpdateRecordType.MINT_TOKENS, IndexUpdateRecordType.MINT_TOKENS, IndexUpdateRecordType.CREATE_TOKEN + IndexUpdateRecordType.MINT_TOKENS, IndexUpdateRecordType.MELT_TOKENS, IndexUpdateRecordType.CREATE_TOKEN ) assert json_dict['type'] in valid_types return cls(