Skip to content

Commit

Permalink
fix uncaught promise for fingerprint mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Feb 11, 2024
1 parent b16c29a commit 1ef7ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ export class Runtime {
if (header.sender) header.sender.setOnline(true);

if (header.type !== ProtocolDataType.GOODBYE && header.type !== ProtocolDataType.HELLO && header.sender && header.signed) {
Crypto.activateEndpoint(header.sender);
await Crypto.activateEndpoint(header.sender)
}

if (header.type === ProtocolDataType.GOODBYE && header.sender && !Crypto.public_keys.has(header.sender.main)) {
Expand Down

0 comments on commit 1ef7ce7

Please sign in to comment.