Skip to content

Commit

Permalink
Merge pull request #6757 from Agoric/keplr-connection-context
Browse files Browse the repository at this point in the history
feat(web-components): allow custom import context
  • Loading branch information
mergify[bot] authored Jan 6, 2023
2 parents f3b1be4 + 2f4ba3a commit 669ad6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ const DEFAULT_NETWORK_CONFIG = 'https://main.agoric.net/network-config';

export const makeAgoricKeplrConnection = async (
networkConfig = DEFAULT_NETWORK_CONFIG,
context = makeImportContext(),
) => {
const chainId = await getChainId(networkConfig);
const address = await getKeplrAddress(chainId);

const context = makeImportContext();
const leader = makeLeader(networkConfig);
const walletNotifiers = await watchWallet(leader, address, context);

Expand Down

0 comments on commit 669ad6d

Please sign in to comment.