From 882bbd63522fd3e1f9f76558bbc40731dc0845b8 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 4 Nov 2024 08:23:16 -0800 Subject: [PATCH] Bad property name --- chia/rpc/wallet_request_types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chia/rpc/wallet_request_types.py b/chia/rpc/wallet_request_types.py index 4a11437c2981..0da5d9997ecc 100644 --- a/chia/rpc/wallet_request_types.py +++ b/chia/rpc/wallet_request_types.py @@ -838,14 +838,14 @@ def parse(cls, f: BinaryIO) -> TransactionRecordMetadata: def to_json_dict(self) -> dict[str, Any]: return { **self.decorator_information, - "decorator_name": self.decorator_name.name, + "decorator": self.decorator_name.name, } @classmethod def from_json_dict(cls, json_dict: dict[str, Any]) -> PuzzleDecoratorData: return PuzzleDecoratorData( - decorator_name=PuzzleDecoratorType.__members__[json_dict["decorator_name"]], - decorator_information={k: v for k, v in json_dict.items() if k != "decorator_name"}, + decorator_name=PuzzleDecoratorType.__members__[json_dict["decorator"]], + decorator_information={k: v for k, v in json_dict.items() if k != "decorator"}, )