Skip to content

Commit

Permalink
fix: add adapter on handleProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
VanessaPC committed May 7, 2024
1 parent ca40c31 commit 8b446e8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { Wallet } from '@lace/cardano';
import { HANDLE_SERVER_URLS } from '@src/features/ada-handle/config';
import { Cardano, NotImplementedError } from '@cardano-sdk/core';
import { cacheActivatedWalletAddressSubscription } from './cache-wallets-address';
import axiosFetchAdapter from '@vespaiach/axios-fetch-adapter';

const logger = console;

Expand Down Expand Up @@ -76,6 +77,7 @@ const walletFactory: WalletFactory<Wallet.WalletMetadata, Wallet.AccountMetadata
...providers,
stores,
handleProvider: handleHttpProvider({
adapter: axiosFetchAdapter,
baseUrl:
HANDLE_SERVER_URLS[
// TODO: remove exclude to support sanchonet
Expand Down

0 comments on commit 8b446e8

Please sign in to comment.