Skip to content

Commit 8da5da6

Browse files
committed
chore: remove unused key function
Signed-off-by: exploreriii <[email protected]>
1 parent c1f12ea commit 8da5da6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/hiero_sdk_python/tokens/token_info.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,6 @@ def __init__(self, **kwargs: Any):
105105
if f.name in kwargs:
106106
setattr(self, f.name, kwargs[f.name])
107107

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-
121108
# === setter methods ===
122109
def set_admin_key(self, admin_key: PublicKey):
123110
"""Set the admin key."""

0 commit comments

Comments
 (0)