mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-24 14:35:51 +00:00
Remove redundant check [skip ci]
Unreachable
This commit is contained in:
parent
b0873eb98d
commit
3f6615a52b
@ -222,9 +222,6 @@ export class Message {
|
||||
} catch (e) {}
|
||||
|
||||
await Promise.all(decryptionKeyPackets.map(async function(decryptionKeyPacket) {
|
||||
if (!decryptionKeyPacket || decryptionKeyPacket.isDummy()) {
|
||||
return;
|
||||
}
|
||||
if (!decryptionKeyPacket.isDecrypted()) {
|
||||
throw new Error('Decryption key is not decrypted.');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user