Spaces:
Sleeping
Sleeping
Update components/agentcreation.py
Browse files
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(
|