Skip to content

Commit

Permalink
fix connection validation
Browse files Browse the repository at this point in the history
  • Loading branch information
LukassF committed Sep 27, 2024
1 parent 3f83c80 commit 8b38a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/packages/selector-solana/src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ export class NightlyConnectAdapter extends BaseMessageSignerWalletAdapter {
const nightlySolana = window.nightly?.solana

// check if we are connected with nightly wallet
if (!nightlySolana?.changeNetwork) {
if (!nightlySolana?._activeAccount.address) {
throw new Error('Only supported on Nightly wallet')
}

Expand Down

0 comments on commit 8b38a8e

Please sign in to comment.