From 9e7bccc84422518b0fe841968d2ac04085ef0461 Mon Sep 17 00:00:00 2001 From: Ori Newman Date: Sun, 20 Nov 2022 11:17:42 +0200 Subject: [PATCH] Use stdout --- cmd/kaspawallet/show_addresses.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/kaspawallet/show_addresses.go b/cmd/kaspawallet/show_addresses.go index 3c15258a7..47fbd89e2 100644 --- a/cmd/kaspawallet/show_addresses.go +++ b/cmd/kaspawallet/show_addresses.go @@ -5,7 +5,6 @@ import ( "fmt" "github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/client" "github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/pb" - "os" ) func showAddresses(conf *showAddressesConfig) error { @@ -28,7 +27,7 @@ func showAddresses(conf *showAddressesConfig) error { fmt.Println(address) } - fmt.Fprintf(os.Stderr, "Note: the above are only addresses that were manually created by the 'new-address' command. If you want to see a list of all addresses, including change addresses, "+ - "that have a positive balance, use the command 'balance -v'") + fmt.Printf("\nNote: the above are only addresses that were manually created by the 'new-address' command. If you want to see a list of all addresses, including change addresses, " + + "that have a positive balance, use the command 'balance -v'\n") return nil }