mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
lint
This commit is contained in:
parent
693c7cc7bf
commit
9734d0a961
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import { getEventHash, getPublicKey, getSignature } from '@/deps.ts';
|
|||
import type { Event, EventTemplate, SignedEvent } from '@/event.ts';
|
||||
|
||||
/** Sign Nostr event using the app context. */
|
||||
// deno-lint-ignore require-await
|
||||
async function signEvent<K extends number = number>(event: EventTemplate<K>, c: AppContext): Promise<SignedEvent<K>> {
|
||||
const seckey = c.get('seckey')!;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue