Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #422 from PureStake/jan/fix-reload
Browse files Browse the repository at this point in the history
Fix internal Alias reload
  • Loading branch information
PureBrent authored Jul 7, 2022
2 parents 26bdcc7 + 8f2b5d5 commit 2b0d5ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class AliasConfig {
};

static [Namespace.ANS]: ConfigTemplate = {
name: 'Algorand Namespace Service',
name: 'Algorand Name Service',
ledgers: {
[Ledger.TestNet]:
'https://testnet.api.algonameservice.com/names?pattern=${term}' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ export class InternalMethods {
extensionStorage.getStorage('contacts', (storedContacts: any) => {
const aliases = {};
const wallet = session.wallet;
const contacts = storedContacts || [];

// Format contacts as aliases
const contactAliases = [];
for (const c of storedContacts) {
for (const c of contacts) {
contactAliases.push({
name: c.name,
address: c.address,
Expand Down

0 comments on commit 2b0d5ff

Please sign in to comment.