Skip to content

Commit cc54290

Browse files
committed
test: der key length
Signed-off-by: exploreriii <[email protected]>
1 parent 3dd932a commit cc54290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def load_operator_credentials():
7474
"""Load operator credentials from environment variables."""
7575
try:
7676
operator_id = AccountId.from_string(os.getenv('OPERATOR_ID'))
77-
operator_key = PrivateKey.from_string_ecdsa(os.getenv('OPERATOR_KEY'))
77+
operator_key = PrivateKey.from_string_der(os.getenv('OPERATOR_KEY'))
7878
except Exception as e:
7979
print(f"Error parsing operator credentials: {e}")
8080
print(traceback.format_exc())

0 commit comments

Comments
 (0)