We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f12ea commit 8da5da6Copy full SHA for 8da5da6
src/hiero_sdk_python/tokens/token_info.py
@@ -105,19 +105,6 @@ def __init__(self, **kwargs: Any):
105
if f.name in kwargs:
106
setattr(self, f.name, kwargs[f.name])
107
108
- @staticmethod
109
- def _apply_key(
110
- instance: "TokenInfo",
111
- proto_obj: proto_TokenInfo,
112
- proto_field: str,
113
- setter: Callable[[PublicKey], None],
114
- ) -> None:
115
- """Helper to extract a PublicKey from the proto and call the right setter."""
116
- key_proto = getattr(proto_obj, proto_field)
117
- if key_proto.WhichOneof("key"):
118
- setter(PublicKey._from_proto(key_proto))
119
-
120
121
# === setter methods ===
122
def set_admin_key(self, admin_key: PublicKey):
123
"""Set the admin key."""
0 commit comments