Skip to content

Commit

Permalink
[WORKAROUND] Change default account type to ed25519 as encryption/dec…
Browse files Browse the repository at this point in the history
…ryption does not seem to work...
  • Loading branch information
LaurentTrk committed Sep 28, 2021
1 parent 90e130d commit 32ae1a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/extension-ui/src/util/defaultType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

import { KeypairType } from '@polkadot/util-crypto/types';

export const DEFAULT_TYPE = 'sr25519' as KeypairType;
export const DEFAULT_TYPE = 'ed25519' as KeypairType;
2 changes: 1 addition & 1 deletion packages/extension/src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cryptoWaitReady()
console.log('crypto initialized');

// load all the keyring data
keyring.loadAll({ store: new AccountsStore(), type: 'sr25519' });
keyring.loadAll({ store: new AccountsStore(), type: 'ed25519' });

console.log('initialization completed');
})
Expand Down

0 comments on commit 32ae1a9

Please sign in to comment.