Skip to content

Commit 949ca7a

Browse files
committed
fix address
1 parent c311301 commit 949ca7a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

agixt/extensions/solana_wallet.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,13 @@ async def _get_token_decimals(self, token: Pubkey) -> int:
9494
except Exception:
9595
return 9
9696

97-
def __init__(
98-
self, **kwargs,
99-
):
97+
def __init__(self, **kwargs):
10098
# Use the HelloMoon RPC endpoint
10199
SOLANA_API_URI = "https://rpc.hellomoon.io/15b3c970-4cdc-4718-ac26-3896d5422fb6"
102100
self.WSOL_MINT = "So11111111111111111111111111111111111111112"
103101
self.SOLANA_API_URI = SOLANA_API_URI
104-
self.client = AsyncClient(SOLANA_API_URI) WALLET_PRIVATE_KEY = kwargs.get("SOLANA_WALLET_API_KEY", None)
102+
self.client = AsyncClient(SOLANA_API_URI)
103+
WALLET_PRIVATE_KEY = kwargs.get("SOLANA_WALLET_API_KEY", None)
105104

106105
if (
107106
WALLET_PRIVATE_KEY

0 commit comments

Comments
 (0)