From 39a2c81933f2dc1375ef3caa85c77f07e40edff3 Mon Sep 17 00:00:00 2001 From: Ori Newman Date: Sun, 20 Nov 2022 10:59:56 +0200 Subject: [PATCH] Add note about change addresses to 'show-addresses' --- cmd/kaspawallet/show_addresses.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/kaspawallet/show_addresses.go b/cmd/kaspawallet/show_addresses.go index 4254b6d7c..3c15258a7 100644 --- a/cmd/kaspawallet/show_addresses.go +++ b/cmd/kaspawallet/show_addresses.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/client" "github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/pb" + "os" ) func showAddresses(conf *showAddressesConfig) error { @@ -26,5 +27,8 @@ func showAddresses(conf *showAddressesConfig) error { for _, address := range response.Address { 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'") return nil }