Skip to content

Commit

Permalink
Fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaegerfe committed May 31, 2023
1 parent 2f51022 commit 7cbaba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/boot/ual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ export const getAuthenticators = () => {
// UAL is not looking at the chain when checking the localstorage for an already logged in account
// A quick fix is to add the chain in appName until we move forward with WharfKit
const mainChain = getMainChain();
authenticators.push(new Anchor([mainChain], { appName: `${process.env.APP_NAME}_${getChain().getName()}` })),
authenticators.push(new Anchor([mainChain], { appName: `${process.env.APP_NAME}_${mainChain.chainId}` })),
authenticators.push(new CleosAuthenticator([mainChain], {
appName: `${process.env.APP_NAME}_${getChain().getName()}`,
appName: `${process.env.APP_NAME}_${mainChain.chainId}`,
loginHandler,
signHandler: signHandlerForMainChain,
}));
Expand Down

0 comments on commit 7cbaba3

Please sign in to comment.