Skip to content

Commit

Permalink
more consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
piyalbasu committed Apr 1, 2024
1 parent ca1ca96 commit 32a32ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions @shared/api/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@ export const createAccount = async (
};

export const fundAccount = async (publicKey: string): Promise<void> => {
console.log("FUNDACCOUNT");
try {
await sendMessageToBackground({
publicKey,
type: SERVICE_TYPES.FUND_ACCOUNT,
});
} catch (e) {
console.log(e);
console.error(e);
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ export const popupMessageListener = (request: Request, sessionStore: Store) => {
};

const fundAccount = async () => {
console.log("BG FUND ACCOUNT");
const { publicKey } = request;

const { friendbotUrl } = await getNetworkDetails();
Expand Down

0 comments on commit 32a32ac

Please sign in to comment.