From ac988a792d6a463be43210977356877a6fec143e Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 8 Jun 2026 21:14:26 -0300 Subject: [PATCH] nsite: log identifiers instead of printing. --- nsite.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsite.go b/nsite.go index aa5feb3..299ea75 100644 --- a/nsite.go +++ b/nsite.go @@ -198,9 +198,9 @@ var nsite = &cli.Command{ stdout(evt.String()) if identifier == "" { - stdout(nip19.EncodeNpub(pk)) + log(nip19.EncodeNpub(pk) + "\n") } else { - stdout(nip5a.PubKeyToBase36(pk) + identifier) + log(nip5a.PubKeyToBase36(pk) + identifier + "\n") } return publishFlow(ctx, c, kr, evt, relays)