Junaidb commited on
Commit
8199adb
·
verified ·
1 Parent(s): f6b3db3

Update components/agentcreation.py

Browse files
Files changed (1) hide show
  1. components/agentcreation.py +1 -1
components/agentcreation.py CHANGED
@@ -70,7 +70,7 @@ def load_keypair(agent):
70
  keypair=doc["secret_key"]
71
 
72
  secret_key_bytes =bytes.fromhex(keypair)
73
- keypair = Keypair.from_bytes(secret_key)
74
 
75
  print(f"✅ Keypair loaded from {path}")
76
  print(f"📍 Public Key: {keypair.pubkey()}")
 
70
  keypair=doc["secret_key"]
71
 
72
  secret_key_bytes =bytes.fromhex(keypair)
73
+ keypair = Keypair.from_bytes(secret_key_bytes)
74
 
75
  print(f"✅ Keypair loaded from {path}")
76
  print(f"📍 Public Key: {keypair.pubkey()}")