From cf1694704ea6942c68e99136bccafdc5106dbdcc Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 23 Aug 2024 16:17:17 -0300 Subject: [PATCH] bunker: fix printing bunker uri. --- bunker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bunker.go b/bunker.go index 382310e..452912c 100644 --- a/bunker.go +++ b/bunker.go @@ -84,8 +84,8 @@ var bunker = &cli.Command{ return err } npub, _ := nip19.EncodePublicKey(pubkey) - bold := color.New(color.Bold).Sprintf - italic := color.New(color.Italic).Sprintf + bold := color.New(color.Bold).Sprint + italic := color.New(color.Italic).Sprint // this function will be called every now and then printBunkerInfo := func() { @@ -131,7 +131,7 @@ var bunker = &cli.Command{ ) log("listening at %v:\n pubkey: %s \n npub: %s%s%s\n to restart: %s\n bunker: %s\n\n", - bold("%v", relayURLs), + bold(relayURLs), bold(pubkey), bold(npub), authorizedKeysStr,