From 50b0d5393476e8ae2d733bcebc2eda45429b7c77 Mon Sep 17 00:00:00 2001 From: Moray Grieve Date: Fri, 9 Aug 2024 12:06:02 +0100 Subject: [PATCH 1/2] Correct print output --- tools/faucet/cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/faucet/cmd/main.go b/tools/faucet/cmd/main.go index b865ceba1b..4c9a5b65da 100644 --- a/tools/faucet/cmd/main.go +++ b/tools/faucet/cmd/main.go @@ -29,8 +29,8 @@ func main() { if err != nil { panic(err) } - fmt.Printf("💡 Faucet started - visit http://%s/viewingkeys/ to generate an ephemeral viewing key.\n", cfg.Host) - + fmt.Printf("💡 Faucet started on http://%s:%d \n", cfg.Host, cfg.HTTPPort) + // Create a channel to receive signals signalCh := make(chan os.Signal, 1) From 61c61bae23e7c9a16d22253b24339e2b904e3fba Mon Sep 17 00:00:00 2001 From: Moray Grieve Date: Tue, 13 Aug 2024 14:59:06 +0100 Subject: [PATCH 2/2] Remove whitespace --- tools/faucet/cmd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/faucet/cmd/main.go b/tools/faucet/cmd/main.go index 4c9a5b65da..d22030eee5 100644 --- a/tools/faucet/cmd/main.go +++ b/tools/faucet/cmd/main.go @@ -29,8 +29,8 @@ func main() { if err != nil { panic(err) } - fmt.Printf("💡 Faucet started on http://%s:%d \n", cfg.Host, cfg.HTTPPort) - + fmt.Printf("💡 Faucet started on http://%s:%d\n", cfg.Host, cfg.HTTPPort) + // Create a channel to receive signals signalCh := make(chan os.Signal, 1)