Skip to content

Commit

Permalink
fix: be able to import private key account if airGap account imported
Browse files Browse the repository at this point in the history
  • Loading branch information
CedrikNikita committed Oct 15, 2024
1 parent 91359ed commit a9dfde0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/popup/components/Modals/PrivateKeyImport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ export default defineComponent({
if (
accounts.value.find(({ protocol, secretKey }) => (
Buffer.from(secretKey).toString('hex') === Buffer.from(account.secretKey).toString('hex')
secretKey
&& Buffer.from(secretKey).toString('hex') === Buffer.from(account.secretKey).toString('hex')
&& protocol === props.protocol
))
) {
Expand Down

0 comments on commit a9dfde0

Please sign in to comment.