Skip to content

Commit

Permalink
fix: name lookup url not working on mainnet, fixes #916
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Jan 28, 2021
1 parent 98e43fe commit fc554cd
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 367 deletions.
2 changes: 1 addition & 1 deletion packages/auth/src/userSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export class UserSession {
let coreNode = this.appConfig && this.appConfig.coreNode;
if (!coreNode) {
const network = new StacksMainnet();
coreNode = network.coreApiUrl;
coreNode = network.bnsLookupUrl;
}

const tokenPayload = decodeToken(authResponseToken).payload;
Expand Down

0 comments on commit fc554cd

Please sign in to comment.