Skip to content

Commit

Permalink
change keys fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjames committed Jun 23, 2019
1 parent d5ce740 commit 026d105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/Keychain.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default class Keychain {
}

getKeyPairByPublicKey(publicKey){
if(!publicKey) return;
return this.keypairs.find(key => key.publicKeys.find(x => x.key.toLowerCase() === publicKey.toLowerCase()))
}

Expand Down

0 comments on commit 026d105

Please sign in to comment.