Junaidb commited on
Commit
8feb09e
·
verified ·
1 Parent(s): f12c8de

Update components/agentcreation.py

Browse files
Files changed (1) hide show
  1. components/agentcreation.py +1 -1
components/agentcreation.py CHANGED
@@ -17,7 +17,7 @@ def create_keypair(agent):
17
  keypair = Keypair()
18
  keypair_data = {
19
  "agent_id": agent,
20
- "public_key": str(keypair.pubkey())
21
  "secret_key": bytes(keypair).hex()
22
  }
23
  coll.update_one(
 
17
  keypair = Keypair()
18
  keypair_data = {
19
  "agent_id": agent,
20
+ "public_key": str(keypair.pubkey()),
21
  "secret_key": bytes(keypair).hex()
22
  }
23
  coll.update_one(