fix nak blossom list stupid segfault.

This commit is contained in:
fiatjaf
2025-07-17 20:00:03 -03:00
parent 7c58948924
commit 87bf5ef446
3 changed files with 10 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ var blossomCmd = &cli.Command{
if pk, err := nostr.PubKeyFromHex(pubkey); err != nil {
return fmt.Errorf("invalid public key '%s': %w", pubkey, err)
} else {
client = blossom.NewClient(client.GetMediaServer(), keyer.NewReadOnlySigner(pk))
client = blossom.NewClient(c.String("server"), keyer.NewReadOnlySigner(pk))
}
} else {
var err error