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 1926a85 commit 0657463Copy full SHA for 0657463
1 file changed
src/hiero_sdk_python/utils/key_utils.py
@@ -33,4 +33,6 @@ def key_to_proto(key: Key | None) -> basic_types_pb2.Key | None:
33
if isinstance(key, Key):
34
return key.to_proto_key()
35
36
- raise TypeError("Key must be of type PrivateKey or PublicKey")
+ raise TypeError(
37
+ "Key must be of type PrivateKey or PublicKey, or another SDK Key implementation"
38
+ )
0 commit comments