Skip to content

Commit

Permalink
fix: bug of cdp wallet create
Browse files Browse the repository at this point in the history
  • Loading branch information
hyacinthus committed Feb 13, 2025
1 parent d9dd44c commit adae9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async def create_agent(
)
Cdp.configure(
api_key_name=config.cdp_api_key_name,
private_key=config.cdp_api_key_private_key,
private_key=config.cdp_api_key_private_key.replace("\\n", "\n"),
)
wallet = Wallet.create(network_id=latest_agent.cdp_network_id)
wallet_data = wallet.export_data().to_dict()
Expand Down

0 comments on commit adae9c7

Please sign in to comment.