Skip to content

Commit

Permalink
fix: mnemonic conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Aug 14, 2023
1 parent d3254bf commit ae61eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2984,7 +2984,7 @@ export default class MetamaskController extends EventEmitter {
.toString()
.split(' ')
.map((word) => wordlist.indexOf(word));
return new Uint8Array(indices);
return new Uint8Array(new Uint16Array(indices).buffer);
}

/**
Expand Down

0 comments on commit ae61eeb

Please sign in to comment.