@@ -63,7 +63,7 @@ def __init__(
6363 fee_exempt_keys (list[Key], optional): Optional list of fee exempt keys for the topic (PrivateKey or PublicKey).
6464 """
6565 super ().__init__ ()
66- self .memo : str = memo or ""
66+ self .topic_memo : str = memo or ""
6767 self .admin_key : Key | None = admin_key
6868 self .submit_key : Key | None = submit_key
6969 self .auto_renew_period : Duration = auto_renew_period or Duration (7890000 )
@@ -84,7 +84,7 @@ def set_memo(self, memo: str) -> TopicCreateTransaction:
8484 TopicCreateTransaction: The current instance for method chaining.
8585 """
8686 self ._require_not_frozen ()
87- self .memo = memo
87+ self .topic_memo = memo
8888 return self
8989
9090 def set_admin_key (self , key : Key ) -> TopicCreateTransaction :
@@ -237,7 +237,7 @@ def _build_proto_body(self) -> consensus_create_topic_pb2.ConsensusCreateTopicTr
237237 submitKey = key_to_proto (self .submit_key ),
238238 autoRenewPeriod = (self .auto_renew_period ._to_proto () if self .auto_renew_period is not None else None ),
239239 autoRenewAccount = (self .auto_renew_account ._to_proto () if self .auto_renew_account is not None else None ),
240- memo = self .memo ,
240+ memo = self .topic_memo ,
241241 custom_fees = [custom_fee ._to_topic_fee_proto () for custom_fee in self .custom_fees ],
242242 fee_schedule_key = key_to_proto (self .fee_schedule_key ),
243243 fee_exempt_key_list = [key_to_proto (key ) for key in self .fee_exempt_keys ],
0 commit comments