There was an error while loading. Please reload this page.
1 parent d5ce740 commit 026d105Copy full SHA for 026d105
1 file changed
src/models/Keychain.js
@@ -85,6 +85,7 @@ export default class Keychain {
85
}
86
87
getKeyPairByPublicKey(publicKey){
88
+ if(!publicKey) return;
89
return this.keypairs.find(key => key.publicKeys.find(x => x.key.toLowerCase() === publicKey.toLowerCase()))
90
91
0 commit comments