This commit is contained in:
Iru 2025-11-23 16:07:12 +01:00
commit ad8b83ac61
2 changed files with 15 additions and 16 deletions

View file

@ -66,7 +66,7 @@ func LoadConfig() *Config {
if prefix != "nsec" {
log.Fatalf("not an nsec, got %s", prefix)
}
pk := nostr.GetPublicKey(sk)
npub := nip19.EncodeNpub(pk)
log.Printf("Loading private key from file %s. Will send alerts from %s", nsecfile, npub)