File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " sakit"
3- version = " 14.0.0 "
3+ version = " 14.0.1 "
44description = " Solana Agent Kit"
55authors = [" Bevan Hunt <bevan@bevanhunt.com>" ]
66license = " MIT"
Original file line number Diff line number Diff line change @@ -295,10 +295,14 @@ async def execute(
295295 if not all ([self ._app_id , self ._app_secret , self ._signing_key ]):
296296 return {"status" : "error" , "message" : "Privy config missing." }
297297
298- # Get user's embedded wallet
299- wallet_info = await _get_privy_embedded_wallet (
300- user_id , self ._app_id , self ._app_secret
298+ # Create Privy client
299+ privy_client = AsyncPrivyAPI (
300+ app_id = self ._app_id ,
301+ app_secret = self ._app_secret ,
301302 )
303+
304+ # Get user's embedded wallet
305+ wallet_info = await _get_privy_embedded_wallet (privy_client , user_id )
302306 if not wallet_info :
303307 return {
304308 "status" : "error" ,
You can’t perform that action at this time.
0 commit comments