Skip to content

Commit f4397f2

Browse files
author
arlert-armin
committed
feat: use safepal instance response
1 parent c429b1d commit f4397f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wallets/provider-safepal/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export function solanaSafepal(): SolanaProviderApi {
4646
export async function getSolanaAccounts(
4747
instance: any
4848
): Promise<ProviderConnectResult> {
49-
await instance.connect();
50-
const account = instance.publicKey.toString();
49+
const solanaResponse = await instance.connect();
50+
const account = solanaResponse.publicKey.toString();
5151
return {
5252
accounts: [account],
5353
chainId: LegacyNetworks.SOLANA,

0 commit comments

Comments
 (0)